Merge lp:~gnuoy/charm-helpers/1496746 into lp:charm-helpers
Proposed by
Liam Young
on 2015-09-17
| Status: | Merged |
|---|---|
| Merged at revision: | 450 |
| Proposed branch: | lp:~gnuoy/charm-helpers/1496746 |
| Merge into: | lp:charm-helpers |
| Diff against target: |
158 lines (+79/-7) 4 files modified
charmhelpers/core/hugepage.py (+8/-1) charmhelpers/core/strutils.py (+30/-0) tests/core/test_hugepage.py (+26/-6) tests/core/test_strutils.py (+15/-0) |
| To merge this branch: | bzr merge lp:~gnuoy/charm-helpers/1496746 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| James Page | 2015-09-17 | Approve on 2015-09-17 | |
|
Review via email:
|
|||
To post a comment you must log in.
| Liam Young (gnuoy) wrote : | # |
lp:~gnuoy/charm-helpers/1496746
updated
on 2015-09-17
- 451. By Liam Young on 2015-09-17
-
Add function to convert human readable representation of quantity of bytes (eg 1G) to int
review:
Approve


Looking at https:/ /www.kernel. org/doc/ Documentation/ vm/hugetlbpage. txt the pagesize option that is used to mount the hugepages should be set in bytes not human readable equivalent and that makes working out shmmax much easier too.