Re: [PATCH 0/9] mm: Hardened usercopy

From: Linus Torvalds
Date: Fri Jul 08 2016 - 12:19:16 EST


On Fri, Jul 8, 2016 at 1:46 AM, Ingo Molnar <mingo@xxxxxxxxxx> wrote:
>
> Could you please try to find some syscall workload that does many small user
> copies and thus excercises this code path aggressively?

Any stat()-heavy path will hit cp_new_stat() very heavily. Think the
usual kind of "traverse the whole tree looking for something". "git
diff" will do it, just checking that everything is up-to-date.

That said, other things tend to dominate.

Linus