Re: [PATCH]updated ipc lock patch

Rusty Russell (rusty@rustcorp.com.au)
Tue, 29 Oct 2002 13:51:20 +1100


In message <Pine.LNX.4.44.0210282357450.1315-100000@localhost.localdomain> you
write:
> > 2) This is a problem, because other tasks could be OOM killed during
> > that period, and could also try to use this mempool.
>
> They'll try to use the mempool, maybe some will be allowed to wait
> for their kmalloc(GFP_KERNEL) memory, and others will be PF_MEMDIEd and
> proceed to take a reserved mempool buffer, and others will be PF_MEMDIEd
> and have to wait for a reserved mempool buffer. Which will be released
> to them in due course. No worries there.

Oh.

You are (of course) correct. Thankyou for your patience. Your
solution is elegant and correct.

Feeling dimwitted,
Rusty.

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/