20 Jun
2007
20 Jun
'07
9:55 a.m.
Hi Timo,
Timo Sirainen wrote:
http://dovecot.org/tmp/concurrency.c
I'd want to know what results this program gives with different systems. Please test and reply (but don't bother if someone already replied with the same OS+result). I expect it to print:
- SMP kernels: "page size cut" once in a while
- UP (uniprocessor) kernels: Nothing
- The most important thing is that it never prints "broken data"
Linux 2.6.20-16-server (SMP), Core 2 Duo E6600: Only one reader: No output Three readers: After a few minutes "Page size cut" printed by one of them
Linux 2.6.18-028stab027 (UP), Athlon 64 3700+: Never outputs anything.
Regards, Philipp