Re: mm: slab - __cache_alloc NULL prefetch fix

From: Cyrill Gorcunov
Date: Thu Nov 20 2008 - 12:02:47 EST


[Cyrill Gorcunov - Thu, Nov 20, 2008 at 07:44:00PM +0300]
| Do not prefetch NULL
|
| Signed-off-by: Cyrill Gorcunov <gorcunov@xxxxxxxxx>
| ---
|
| Please check
|
...

even having prefetch(NULL) as valid we do check if
object is not NULL anyway so I thought there is no
need to prefetch(NULL) in case of fail.

- Cyrill -
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/