Re: can a kmalloc be both GFP_ATOMIC and GFP_KERNEL at the same time?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Robert P. J. Day <rpjday@...>
Cc: Shan, Guo Wen (Gavin) <gshan@...>, Linux Kernel Mailing List <linux-kernel@...>
Date: Saturday, April 28, 2007 - 12:29 pm

> > drivers/scsi/aic7xxx_old.c:  aic_dev = kmalloc(sizeof(struct aic_dev_data), GFP_ATOMIC | GFP_KERNEL);

I don't believe either of those is doing what the author intended 8).

Alan
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RE: can a kmalloc be both GFP_ATOMIC and GFP_KERNEL at the s..., Shan, Guo Wen (Gavin), (Sat Apr 28, 9:58 am)
RE: can a kmalloc be both GFP_ATOMIC and GFP_KERNEL at the s..., Robert P. J. Day, (Sat Apr 28, 10:11 am)
Re: can a kmalloc be both GFP_ATOMIC and GFP_KERNEL at the s..., Alan Cox, (Sat Apr 28, 12:29 pm)
Re: can a kmalloc be both GFP_ATOMIC and GFP_KERNEL at the s..., Christoph Lameter, (Mon Apr 30, 1:58 am)
RE: can a kmalloc be both GFP_ATOMIC and GFP_KERNEL at the s..., Arjan van de Ven, (Sat Apr 28, 11:03 am)