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: <f63baf765051c19b85938ea73d6c6b2a.squirrel@www.codeaurora.org>
Date:	Wed, 21 Jul 2010 11:04:52 -0700 (PDT)
From:	stepanm@...eaurora.org
To:	"Russell King - ARM Linux" <linux@....linux.org.uk>
Cc:	"Shilimkar, Santosh" <santosh.shilimkar@...com>,
	"stepanm@...eaurora.org" <stepanm@...eaurora.org>,
	"linux-arch@...r.kernel.org" <linux-arch@...r.kernel.org>,
	"dwalker@...eaurora.org" <dwalker@...eaurora.org>,
	"mel@....ul.ie" <mel@....ul.ie>,
	"linux-arm-msm@...r.kernel.org" <linux-arm-msm@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"FUJITA Tomonori" <fujita.tomonori@....ntt.co.jp>,
	"linux-mm@...ck.org" <linux-mm@...ck.org>,
	"andi@...stfloor.org" <andi@...stfloor.org>,
	"Zach Pfeffer" <zpfeffer@...eaurora.org>,
	"Michael Bohan" <mbohan@...eaurora.org>,
	"Tim HRM" <zt.tmzt@...il.com>,
	"linux-omap@...r.kernel.org" <linux-omap@...r.kernel.org>,
	"linux-arm-kernel@...ts.infradead.org" 
	<linux-arm-kernel@...ts.infradead.org>,
	"ebiederm@...ssion.com" <ebiederm@...ssion.com>
Subject: Re: [RFC 1/3 v3] mm: iommu: An API to unify IOMMU,
      CPU and device memory management

> *************************************************************************
>> > This is difficult to achieve without remapping kernel memory using L2
>> > page tables, so we can unmap pages on 4K page granularity.  That's
>> > going to increase TLB overhead and result in lower system performance
>> > as there'll be a greater number of MMU misses.
> *************************************************************************

Given how the buffers in question can be on the orders of tens of MB (and
I don't think they will ever be less than 1MB), would we be able to get
the desired effect by unmapping and then remapping on a 1MB granularity
(ie, L1 sections)? It seems to me like this should be sufficient, and
would not require using L2 mappings. Thoughts?

Thanks
Steve

Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.






--
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