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-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20141027161544.8955c1df4c01c48e22283692@linux-foundation.org>
Date:	Mon, 27 Oct 2014 16:15:44 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Michal Nazarewicz <mina86@...a86.com>
Cc:	Pintu Kumar <pintu.k@...sung.com>, riel@...hat.com,
	aquini@...hat.com, paul.gortmaker@...driver.com,
	jmarchan@...hat.com, lcapitulino@...hat.com,
	kirill.shutemov@...ux.intel.com, m.szyprowski@...sung.com,
	aneesh.kumar@...ux.vnet.ibm.com, iamjoonsoo.kim@....com,
	lauraa@...eaurora.org, gioh.kim@....com, mgorman@...e.de,
	rientjes@...gle.com, hannes@...xchg.org, vbabka@...e.cz,
	sasha.levin@...cle.com, linux-kernel@...r.kernel.org,
	linux-mm@...ck.org, pintu_agarwal@...oo.com, cpgs@...sung.com,
	vishnu.ps@...sung.com, rohit.kr@...sung.com, ed.savinay@...sung.com
Subject: Re: [PATCH v2 2/2] fs: proc: Include cma info in proc/meminfo

On Fri, 24 Oct 2014 18:31:21 +0200 Michal Nazarewicz <mina86@...a86.com> wrote:

> On Wed, Oct 22 2014, Pintu Kumar <pintu.k@...sung.com> wrote:
> > This patch include CMA info (CMATotal, CMAFree) in /proc/meminfo.
> > Currently, in a CMA enabled system, if somebody wants to know the
> > total CMA size declared, there is no way to tell, other than the dmesg
> > or /var/log/messages logs.
> > With this patch we are showing the CMA info as part of meminfo, so that
> > it can be determined at any point of time.
> > This will be populated only when CMA is enabled.
> >
> > Below is the sample output from a ARM based device with RAM:512MB and CMA:16MB.
> >
> > MemTotal:         471172 kB
> > MemFree:          111712 kB
> > MemAvailable:     271172 kB
> > .
> > .
> > .
> > CmaTotal:          16384 kB
> > CmaFree:            6144 kB
> >
> > This patch also fix below checkpatch errors that were found during these changes.
> 
> As already mentioned, this should be in separate patch.

Yes, in theory.  But a couple of little whitespace fixes aren't really
worth a resend.  As long as they don't make the patch harder to read
and to backport I usually just let them through.
--
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