Re: [PATCH] memremap: Convert devmap static branch to {inc,dec}

2020-08-11 Thread William Kucharski
Looks good to me. Reviewed-by: William Kucharski > On Aug 10, 2020, at 5:53 PM, ira.we...@intel.com wrote: > > From: Ira Weiny > > While reviewing Protection Key Supervisor support it was pointed out > that using a counter to track static branch enable was an anti-pattern > which was better s

[PATCH] memremap: Convert devmap static branch to {inc,dec}

2020-08-10 Thread ira . weiny
From: Ira Weiny While reviewing Protection Key Supervisor support it was pointed out that using a counter to track static branch enable was an anti-pattern which was better solved using the provided static_branch_{inc,dec} functions.[1] Fix up devmap_managed_key to work the same way. Also this