Geoffrey Challen
a662851491
Initial fix of upstream merge.
2017-02-09 10:09:30 -05:00
Geoffrey Challen
15abe49f09
Minor kernel changes.
2017-02-09 09:53:00 -05:00
Geoffrey Challen
e318e3171e
Revert "Merging in 1.0.2."
...
This reverts commit 50cf3276e747c545b4ae53853d9b911731dc463e.
2017-01-09 22:52:13 -05:00
Geoffrey Challen
50cf3276e7
Merging in 2.0.2.
2017-01-09 22:40:23 -05:00
Scott Haseley
25a1d7debc
Changed kheap_getused so that it doesn't double-count the pages it's using for
...
subpage allocation. We run into problems in determining memory leaks due to
kmalloc framgmentation, which can happen because of delayed thread cleanup.
2016-03-25 11:09:15 -04:00
Guru Prasad Srinivasa
03f484ff21
Merge branch 'master' of gitlab.ops-class.org:staff/os161
2016-03-10 17:30:37 -05:00
Guru Prasad Srinivasa
c9c9e50155
Updated forkbomb to better detect success
...
Previously, we were relying on subpage allocator failing to signal
that forkbomb was succeeding. However, there are cases where the
subpage allocator never fails but the test is still progressing fine.
This commit moves the secure print into forkbomb itself and changes
the test constraints to ensure that forkbomb runs for a certain amount
of time without crashing
2016-03-10 17:28:47 -05:00
Geoffrey Challen
d322a01342
Adding function to get used bytes.
2016-03-10 11:29:38 -05:00
Geoffrey Challen
a07a4b75c1
Change free to used in new coremap function.
2016-03-05 11:00:48 -05:00
Geoffrey Challen
a367007689
Add function to track free bytes in the coremap.
2016-03-05 09:55:44 -05:00
Guru Prasad Srinivasa
f141875f20
Updated kmalloc secprintf to satisfy forkbomb
2016-02-29 20:12:01 -05:00
Scott Haseley
1b99c0e18f
Refactored ksecprintf -> secprintf. Secure code is now all in common libtest161.
...
This library gets linked in by default in userland, and the common files are
included in the kernel.
2016-02-23 15:31:37 -05:00
Geoffrey Challen
32253d53bc
Fix whitespace errors.
2016-02-11 20:10:39 -05:00
Geoffrey Challen
db6d3d219d
Command to print total kernel heap usage for debugging.
2016-02-11 16:56:51 -05:00
Geoffrey Challen
cafa9f5690
Initial Spring 2016 commit.
2015-12-23 00:50:04 +00:00