Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1733118

Re: [PATCH v8 10/11] arm64/kasan: explicitly zero kasan shadow memory

From Mark Rutland <mark.rutland@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH v8 10/11] arm64/kasan: explicitly zero kasan shadow memory
Date 2017-09-16 00:20 +0200
Message-ID <uq77Q-HB-9@gated-at.bofh.it> (permalink)
References (1 earlier) <upKXE-2sX-35@gated-at.bofh.it> <upNsu-4eb-3@gated-at.bofh.it> <upNLP-4mg-1@gated-at.bofh.it> <uq5z3-80J-5@gated-at.bofh.it> <uq6lr-8D-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Sep 15, 2017 at 05:20:59PM -0400, Pavel Tatashin wrote:
> Hi Mark,
> 
> I had this optionĀ  back upto version 3, where zero flag was passed into
> vmemmap_alloc_block(), but I was asked to remove it, because it required too
> many changes in other places.

Ok. Sorry for bringing back a point that had already been covered.

> So, the current approach is cleaner, but the idea is that kasan should use
> its own version of vmemmap_populate() for both x86 and ARM, but I think it is
> outside of the scope of this work.

I appreciate that this is unrelated to your ultimate goal, and that this is
somewhat frustrating given the KASAN code is arguably abusing the
vmemmap_populate() interface.

However, I do think we need to migrate the KASAN code to a proper interface
immediately, rather than making it worse in the interim.

> If you think I should add these function in this project, than sure I can
> send a new version with kasanmap_populate() functions.

I would very much appreciate if you could send a version with a
kasan_map_populate() interface. I'm more than happy to review/test that portion
of the series, or to help if there's some problem which makes that difficult.

Thanks,
Mark.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v7 00/11] complete deferred page initialization Pavel Tatashin <pasha.tatashin@oracle.com> - 2017-09-15 00:40 +0200
  [PATCH v8 03/11] mm: deferred_init_memmap improvements Pavel Tatashin <pasha.tatashin@oracle.com> - 2017-09-15 00:40 +0200
  [PATCH v8 02/11] sparc64/mm: setting fields in deferred pages Pavel Tatashin <pasha.tatashin@oracle.com> - 2017-09-15 00:40 +0200
  [PATCH v8 11/11] mm: stop zeroing memory during allocation in vmemmap Pavel Tatashin <pasha.tatashin@oracle.com> - 2017-09-15 00:40 +0200
  [PATCH v8 05/11] mm: defining memblock_virt_alloc_try_nid_raw Pavel Tatashin <pasha.tatashin@oracle.com> - 2017-09-15 00:40 +0200
  [PATCH v8 09/11] x86/kasan: explicitly zero kasan shadow memory Pavel Tatashin <pasha.tatashin@oracle.com> - 2017-09-15 00:40 +0200
  [PATCH v8 08/11] mm: zero reserved and unavailable struct pages Pavel Tatashin <pasha.tatashin@oracle.com> - 2017-09-15 00:40 +0200
  [PATCH v8 07/11] sparc64: optimized struct page zeroing Pavel Tatashin <pasha.tatashin@oracle.com> - 2017-09-15 00:40 +0200
  [PATCH v8 06/11] mm: zero struct pages during initialization Pavel Tatashin <pasha.tatashin@oracle.com> - 2017-09-15 00:40 +0200
  [PATCH v8 04/11] sparc64: simplify vmemmap_populate Pavel Tatashin <pasha.tatashin@oracle.com> - 2017-09-15 00:40 +0200
  [PATCH v8 01/11] x86/mm: setting fields in deferred pages Pavel Tatashin <pasha.tatashin@oracle.com> - 2017-09-15 00:40 +0200
  [PATCH v8 10/11] arm64/kasan: explicitly zero kasan shadow memory Pavel Tatashin <pasha.tatashin@oracle.com> - 2017-09-15 00:40 +0200
    Re: [PATCH v8 10/11] arm64/kasan: explicitly zero kasan shadow memory Mark Rutland <mark.rutland@arm.com> - 2017-09-15 03:20 +0200
      Re: [PATCH v8 10/11] arm64/kasan: explicitly zero kasan shadow memory Pavel Tatashin <pasha.tatashin@oracle.com> - 2017-09-15 03:40 +0200
        Re: [PATCH v8 10/11] arm64/kasan: explicitly zero kasan shadow memory Mark Rutland <mark.rutland@arm.com> - 2017-09-15 22:40 +0200
          Re: [PATCH v8 10/11] arm64/kasan: explicitly zero kasan shadow memory Pavel Tatashin <pasha.tatashin@oracle.com> - 2017-09-15 23:30 +0200
            Re: [PATCH v8 10/11] arm64/kasan: explicitly zero kasan shadow memory Mark Rutland <mark.rutland@arm.com> - 2017-09-16 00:20 +0200
  [PATCH v8 00/11] complete deferred page initialization Pavel Tatashin <pasha.tatashin@oracle.com> - 2017-09-15 00:50 +0200

csiph-web