iutil: running_kernel().
tests: dump_packagelist() can free the list too.