stat of /proc fails after CPU hot-unplug with EOVERFLOW in 2.6.18

From: Martin Devera
Date: Wed Sep 27 2006 - 03:56:16 EST


I have 2way Opteron machine. I've done this:
echo 0 > /sys/devices/system/cpu/cpu1/online

and then strace stat /proc:

personality(PER_LINUX) = 4194304
getpid() = 14926
brk(0) = 0x804b000
brk(0x804b1a0) = 0x804b1a0
brk(0x804c000) = 0x804c000
stat("/proc", 0xbf8e7490) = -1 EOVERFLOW

When I do echo 1 > ... to start cpu again then the stat starts
to work again ... Weird.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at