Re: [PATCH 2.6.19-rc3 1/2] ehea: kzalloc GFP_ATOMIC fix

Christoph Raisch
2006-10-27T11:15:21Z

Andrew Morton <akpm@osdl.org> wrote on 27.10.2006 05:13:13:

> On Wed, 25 Oct 2006 13:11:42 +0200
> Jan-Bernd Themann <ossthema@de.ibm.com> wrote:
>
> > This patch fixes kzalloc parameters (GFP_ATOMIC instead of GFP_KERNEL)
>
> why?

these few kcallocs run in atomic context in some situations.
therefore GFP_KERNEL is no good idea.

Christoph R.