lkml.org 
[lkml]   [2015]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] locking: type cleanup when accessing fast_read_ctr
On 05/19, Peter Zijlstra wrote:
>
> So the value is unsigned by purpose; that said we should never cross the
> 2G I think, so it really doesn't matter much.

Yes, thanks, this is on purpose. Actually I was asked to make it "unsigned"
during the review, but I agree it looks better than "signed int" because
of overflows.

> That said; Oleg, should I post those patches implementing percpu-rwsem
> with the stuff we did for the hotplug lock a while back? I think I
> actually have those around somewhere.

Yes, this would be nice ;)

Oleg.



\
 
 \ /
  Last update: 2015-05-20 20:21    [W:0.042 / U:2.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site