On 5/2/23 22:44, Ondrej Valousek wrote:
What's the reason for doing that?
I wanted to save syscalls, not to create more.

Yes, and the approach I suggested will save a syscall in 99.99% of the cases, as there will be just one llistxattr syscall where your approach has two. In a very few (practically zero?) cases there will be three or more syscalls, but that's OK.

Reply via email to