]> xenbits.xensource.com Git - people/pauldu/mini-os.git/commit
mini-os: let memory allocation fail if no free page available
authorJuergen Gross <jgross@suse.com>
Mon, 18 Jul 2016 14:46:11 +0000 (16:46 +0200)
committerJuergen Gross <jgross@suse.com>
Thu, 11 Aug 2016 11:03:52 +0000 (13:03 +0200)
commit03d8b0f12b07ec914da9e6c258e1a1c7ac5d86f8
tree939270ad4bfdc3dc87728c5be1047fb42da4e9ae
parentbec5839b19f51485c4a92c9321e7986ed97b9065
mini-os: let memory allocation fail if no free page available

Instead of panicing when no page can be allocated try to fail the
memory allocation by returning NULL instead.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
mm.c