[LU-7052] iovec created with iov_iter_get_pages_alloc must be freed with kvfree Created: 27/Aug/15 Updated: 23/Nov/15 Resolved: 27/Aug/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Frank Zago (Inactive) | Assignee: | WC Triage |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | patch | ||
| Issue Links: |
|
||||||||||||
| Severity: | 3 | ||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||
| Description |
|
Commit 98883bd3e2cc48a3a5674ce140ad74bece37df05 added support for iov_iter_get_pages_alloc for newer kernels, instead of ll_get_user_pages. However the iovec was still freed within ll_free_user_pages, using OBD_FREE_LARGE. Use kvfree instead (like in the linux kernel). |
| Comments |
| Comment by Gerrit Updater [ 27/Aug/15 ] |
|
frank zago (fzago@cray.com) uploaded a new patch: http://review.whamcloud.com/16111 |
| Comment by James A Simmons [ 27/Aug/15 ] |
|
OBD_FREE thanks to |
| Comment by Frank Zago (Inactive) [ 27/Aug/15 ] |
|
Thanks James. So that patch is not needed for head of tree then. That issue can be closed. |
| Comment by Peter Jones [ 27/Aug/15 ] |
|
Hope I am understanding correctly that it is this ticket that can be closed |