Add some memory info related functions

Add some memory info related functions. And record buddyinfo in sysinfo which may helpful for debug some fragement related test cases failed reason.