Skip to content
Commit e21763db authored by Jesper Juhl's avatar Jesper Juhl Committed by Tony Luck
Browse files

[IA64] perfmon: Change vmalloc to vzalloc and drop memset.



vzalloc() nicely zeroes memory for us, so we don't have to do a vmalloc()
and then manually memset() the returned memory when all we want is for it
to be zero. Patch changes this for pfm_rvmalloc().

Signed-off-by: default avatarJesper Juhl <jj@chaosbits.net>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 75c1c91c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment