[LU-5304] kernel allocated memroy can be memset up to 3 times Created: 08/Jul/14 Updated: 18/Feb/15 Resolved: 15/Aug/14 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.5.1 |
| Fix Version/s: | Lustre 2.7.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Frank Zago (Inactive) | Assignee: | Cliff White (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Severity: | 3 |
| Rank (Obsolete): | 14818 |
| Description |
|
In some case the memory allocated by lustre could be zero-out twice (kmalloc followed by memset in LIBCFS_ALLOC_*, followed by another memset in the source code). Additionally if GFP_ZERO is set, then the kernel will zero out the cfs_cpt_malloc() has a similar issue. |
| Comments |
| Comment by Frank Zago (Inactive) [ 08/Jul/14 ] |
|
http://review.whamcloud.com/11011 |
| Comment by Frank Zago (Inactive) [ 09/Jul/14 ] |
| Comment by Cliff White (Inactive) [ 15/Aug/14 ] |
|
All patches have been merged |