Re: [PATCH]updated ipc lock patch

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Mon Oct 28 2002 - 21:51:20 EST


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/



This archive was generated by hypermail 2b29 : Thu Oct 31 2002 - 22:00:41 EST