Neil Brown <[EMAIL PROTECTED]> wrote:
>
> Would you accept:
>  ------------------
>  Signed-off-by: Neil Brown <[EMAIL PROTECTED]>
> 
>  ### Diffstat output
>   ./mm/swap.c |    2 ++
>   1 file changed, 2 insertions(+)
> 
>  diff ./mm/swap.c~current~ ./mm/swap.c
>  --- ./mm/swap.c~current~     2005-12-06 10:29:16.000000000 +1100
>  +++ ./mm/swap.c      2005-12-06 10:29:25.000000000 +1100
>  @@ -36,6 +36,8 @@ int page_cluster;
>   
>   void put_page(struct page *page)
>   {
>  +    if (unlikely(page==NULL))
>  +            return;
>       if (unlikely(PageCompound(page))) {
>               page = (struct page *)page_private(page);
>               if (put_page_testzero(page)) {
> 

eek.  That's an all-over-the-place-fast-path!

> 
>  Or should I open code this in md ?

Yes please.
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to