Re: [PATCH] init_reap_node() initialization fix



Daniel Yeisley <dan.yeisley@xxxxxxxxxx> writes:

It looks like there is a bug in init_reap_node() in slab.c that can
cause multiple oops's on certain ES7000 configurations. The variable
reap_node is defined per cpu, but only initialized on a single CPU.
This causes an oops in next_reap_node() when __get_cpu_var(reap_node)
returns the wrong value. Fix is below.

Agreed. The cpu up call back is usually called on the BP only,
so __get_cpu_var which uses a local variable is wrong here.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: A Good, Inexpensive Single-Core cpu
    ... Core cpu that doesn't heat the entire county?? ... There are still single-core processors available from the two major ... it can make use of multiple threads. ... different cores. ...
    (comp.sys.intel)
  • FS: Various PC bits, Sckt A MB, Athlon XP-M, RAID card, Tagan PSU, 2.5" SATA HDDs
    ... rather than making multiple threads. ... with control over the CPU voltage and multiplier, ... This is high quality RAM that can deal with overclocking, ... I'll knock £10 off the price if you buy the RAM, motherboard and CPU ...
    (uk.adverts.computer)
  • Re: whats faster, initialize component, or form load?
    ... for every algorithm there is parallel version. ... Suppose you need to initialize 1 form - parallel might not do any good ... of the overhead of handling multiple threads. ... Furthermore, even when they do want to use the CPU, they are ...
    (microsoft.public.dotnet.languages.csharp)
  • =?ISO-8859-1?Q?Re:_One_or_two_CPUs_-_the_pros_&_cons?=
    ... My example used TCP/IP, VTAM and CICS as ... that gives you all of the overhead, more engines = less TCB's need to be ... CICS has multiple kernels (has ... CPU of the overall complex at a time. ...
    (bit.listserv.ibm-main)
  • Re: [OT] Crazy idea: Design open-source graphics chip
    ... to use the AGP to gain access to multiple offscreen pages ... A simple emulation (either 8bit cpu based or better) of VGA/SVGA ... a single threaded process to handle the graphics. ... It would likely require one AGP, but two PCI slots; ...
    (Linux-Kernel)