[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121130.121122.1152311583758662933.davem@davemloft.net>
Date:	Fri, 30 Nov 2012 12:11:22 -0500 (EST)
From:	David Miller <davem@...emloft.net>
To:	akinobu.mita@...il.com
Cc:	netdev@...r.kernel.org, isdn@...ux-pingi.de
Subject: Re: [PATCH] mISDN: improve bitops usage
From: Akinobu Mita <akinobu.mita@...il.com>
Date: Thu, 29 Nov 2012 20:27:45 +0900
> This improves bitops usages in several points:
> 
> - Convert u64 to a proper bitmap declaration.  This enables to remove
>   superfluous typecasting from 'u64' to 'unsigned long *'.
> 
> - Convert superfluous atomic bitops to non atomic bitops.  The bitmap
>   is allocated on the stack and it is not accessed by any other threads,
>   so using atomic bitops is not necessary.
> 
> - Use find_next_zero_bit and find_next_zero_bit instead of calling
>   test_bit() for each bit.
> 
> Signed-off-by: Akinobu Mita <akinobu.mita@...il.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists
 
