Linux SNPS ARC Archive on lore.kernel.org
 help / color / Atom feed
From: kirill.shutemov@linux.intel.com (Kirill A. Shutemov)
To: linux-snps-arc@lists.infradead.org
Subject: [PATCH v3] ARC: mm: remove __ARCH_USE_5LEVEL_HACK
Date: Thu, 10 Oct 2019 11:28:03 +0300
Message-ID: <20191010082803.biaon6gq7yxvrvrq@black.fi.intel.com> (raw)
In-Reply-To: <20191009185731.25814-1-vgupta@synopsys.com>

On Wed, Oct 09, 2019@06:57:31PM +0000, Vineet Gupta wrote:
> Add the intermediate p4d accessors to make it 5 level compliant.
> 
> This is a non-functional change anyways since ARC has software page walker
> with 2 lookup levels (pgd -> pte)
> 
> There is slight code bloat due to pulling in needless p*d_free_tlb()
> macros which needs to be addressed seperately.
> 
> | bloat-o-meter2 vmlinux-with-5LEVEL_HACK vmlinux-patched
> | add/remove: 0/0 grow/shrink: 2/0 up/down: 128/0 (128)
> | function                                     old     new   delta
> | free_pgd_range                               546     656    +110
> | p4d_clear_bad                                  2      20     +18
> | Total: Before=4137148, After=4137276, chg 0.000000%
> 
> Cc: Kirill A. Shutemov <kirill.shutemov at linux.intel.com>
> Signed-off-by: Vineet Gupta <vgupta at synopsys.com>

Acked-by: Kirill A. Shutemov <kirill.shutemov at linux.intel.com>

-- 
 Kirill A. Shutemov

  reply index

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-08 21:38 [PATCH] " Vineet.Gupta1
2019-10-08 23:42 ` kirill.shutemov
2019-10-09 18:38   ` vineetg76
2019-10-09 18:43     ` [PATCH v2] " Vineet.Gupta1
2019-10-09 18:57       ` [PATCH v3] " Vineet.Gupta1
2019-10-10  8:28         ` kirill.shutemov [this message]
2019-10-22 15:23         ` Mike Rapoport

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191010082803.biaon6gq7yxvrvrq@black.fi.intel.com \
    --to=kirill.shutemov@linux.intel.com \
    --cc=linux-snps-arc@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux SNPS ARC Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-snps-arc/0 linux-snps-arc/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-snps-arc linux-snps-arc/ https://lore.kernel.org/linux-snps-arc \
		linux-snps-arc@lists.infradead.org
	public-inbox-index linux-snps-arc

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.infradead.lists.linux-snps-arc


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git