# Re: \[PATCH v5 03/78\] xarray: Add the xa\_lock to the radix\_tree\_root

- From: Kirill A. Shutemov \<hidden\>
- Date: 2017-12-26 16:54:40 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2017/12/130457
- Thread: https://ratatoskr.run/linux-mm/2017/12/129811/t/2.md

```text
On Fri, Dec 15, 2017 at 02:03:35PM -0800, Matthew Wilcox wrote:
> From: Matthew Wilcox <redacted>
> 
> This results in no change in structure size on 64-bit x86 as it fits in
> the padding between the gfp_t and the void *.

The patch does more than described in the subject and commit message. At first
I was confused why do you need to touch idr here. It took few minutes to figure
it out.

Could you please add more into commit message about lockname and xa_ locking
interface since you introduce it here?

-- 
 Kirill A. Shutemov

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
```
