Messages in this thread | | | Date | Wed, 20 May 2015 19:42:51 +0200 | From | Oleg Nesterov <> | Subject | Re: [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.
| |