Re: [PATCH + RFC] Beginning of some updates to scsi mid layer

Matthew Jacob
2002-06-19T17:55:11Z

>
> I think this is not enough, or backwards. We hit a situation with
> EMC when attaching hundreds of disks depleted atomic memory with
> queue request arrays before swapper had a chance to replenish it.
> I would much appreciate if the initial allocation was concervative,
> if low performing, and was adjusted upwards at slave_attach time.
>
> For 2.5 I would appreciate if we made some SCSI allocations non-atomic.
> The probe time things better be GFP_KERNEL.

I'd go further and say that you only need probe your boot device. After that,
GFP_KERNEL is more than sufficient for anything.