diff options
| author | Hao Sun <[email protected]> | 2022-12-21 22:42:45 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-01-18 17:12:47 -0800 |
| commit | 0b7b8704ddcee372099a2bc6781db6ab273a85d5 (patch) | |
| tree | c1c8de77ddf39a5db49b97611c4b7f019aa81990 /tools/perf/scripts/python/flamegraph.py | |
| parent | 5a9e34747c9f731bbb6b7fd7521c4fec0d840593 (diff) | |
mm: new primitive kvmemdup()
Similar to kmemdup(), but support large amount of bytes with kvmalloc()
and does *not* guarantee that the result will be physically contiguous.
Use only in cases where kvmalloc() is needed and free it with kvfree().
Also adapt policy_unpack.c in case someone bisect into this.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Hao Sun <[email protected]>
Suggested-by: Daniel Borkmann <[email protected]>
Cc: Nick Terrell <[email protected]>
Cc: John Johansen <[email protected]>
Cc: Paul Moore <[email protected]>
Cc: James Morris <[email protected]>
Cc: "Serge E. Hallyn" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions