]> git.neil.brown.name Git - history.git/commit
[PATCH] detect uninitialised per-cpu storage
authorAndrew Morton <akpm@digeo.com>
Thu, 21 Nov 2002 06:37:01 +0000 (22:37 -0800)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Thu, 21 Nov 2002 06:37:01 +0000 (22:37 -0800)
commit62fb568f9c3808257c5f22fdd9ff10f95b78fd34
tree15ae2ab21bb06f94d3b6fb05dec23958e0d1311b
parent9cb761fccf689e0f80a5069a2c696ec345363193
[PATCH] detect uninitialised per-cpu storage

So poor old Dave spent days hunting down memory corruption because the
`kstat' per-cpu storage is not initialised (it needs to be, it's a workaround
for ancient gcc's).

The same problem had me hunting for a day too.

This patch, based on an initial version from Rusty will
parse System.map at final link and will fail the build if
any per-cpu symbols are found to be not in the percpu section.
Makefile
scripts/per-cpu-check.awk [new file with mode: 0644]