diff options
author | Matthew Wilcox <willy@infradead.org> | 2018-10-31 19:39:28 +0100 |
---|---|---|
committer | Matthew Wilcox <willy@infradead.org> | 2018-11-05 22:38:08 +0100 |
commit | c5beb07e7a06b24f4f27304f6282b5dbd929543b (patch) | |
tree | dddd6ce81475ebd3ab56fff6e55efe60d0802393 /Documentation/core-api | |
parent | XArray: Regularise xa_reserve (diff) | |
download | linux-c5beb07e7a06b24f4f27304f6282b5dbd929543b.tar.xz linux-c5beb07e7a06b24f4f27304f6282b5dbd929543b.zip |
XArray: Unify xa_cmpxchg and __xa_cmpxchg
xa_cmpxchg() was one of the largest functions in the xarray
implementation. By turning it into a wrapper and having the callers
take the lock (like several other functions), we save 160 bytes on a
tinyconfig build and reduce the duplication in xarray.c.
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Diffstat (limited to 'Documentation/core-api')
0 files changed, 0 insertions, 0 deletions