bug#40509: Use of fsetxattr() in cp tickles an EXT leak (possibly unnecessarily so)

2020-04-08 Thread Paul Eggert
On 4/8/20 7:15 AM, Gregg Leventhal wrote: rsync doesn't make set/get xattr calls and purports to preserve ACLs with -A. I'm not quite following your bug report, but it appears that you're saying that cp could somehow discover that it needn't use fgetxattr and fsetxattr on files that lack

bug#40509: Use of fsetxattr() in cp tickles an EXT leak (possibly unnecessarily so)

2020-04-08 Thread Gregg Leventhal
This bug in EXT4 leaks posix_acl allocations causing unreclaimable slab allocations to grow unbounded in the kmalloc-64 cache. It turns out that most of the problems we are having due to that leak is due to programs making heavy use of "cp -a" or any of