Re: [PATCH] mm: cleanup: remove unused tsk arg from __access_remote_vm

2020-10-26 Thread Mike Rapoport
On Mon, Oct 26, 2020 at 12:41:37AM -0700, John Hubbard wrote: > Despite a comment that said that page fault accounting would be charged > to whatever task_struct* was passed into __access_remote_vm(), the tsk > argument was actually unused. > > Delete both the comment, and the argument. I'd also

[PATCH] mm: cleanup: remove unused tsk arg from __access_remote_vm

2020-10-26 Thread John Hubbard
Despite a comment that said that page fault accounting would be charged to whatever task_struct* was passed into __access_remote_vm(), the tsk argument was actually unused. Delete both the comment, and the argument. Signed-off-by: John Hubbard Cc: Oleg Nesterov --- Hi, Just something that cau