lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <19963.35531.684825.285975@mariner.uk.xensource.com>
Date:	Fri, 17 Jun 2011 18:11:39 +0100
From:	Ian Jackson <Ian.Jackson@...citrix.com>
To:	<stefano.stabellini@...citrix.com>
CC:	<hpa@...or.com>, <xen-devel@...ts.xensource.com>,
	<konrad.wilk@...cle.com>, <linux-kernel@...r.kernel.org>,
	<mingo@...e.hu>, <hpa@...ux.intel.com>, <yinghai@...nel.org>
Subject: Re: [Xen-devel] [PATCH 1/3] x86: calculate precisely the memory needed
	by init_memory_mapping

stefano.stabellini@...citrix.com writes ("[Xen-devel] [PATCH 1/3] x86: calculate precisely the memory needed by init_memory_mapping"):
> +	if (pgt_buf_end != pgt_buf_top)
> +		printk(KERN_DEBUG "initial kernel pagetable allocation wasted %lx"
> +				" pages\n", pgt_buf_top - pgt_buf_end);

If (due to a bug) pgt_buf_end > pgt_buf_top, this will printk a
message about wasting a negative number of pages, rather than
crashing.  Is there something else that will catch this case ?

Ian.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ