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


Groups > linux.kernel > #1638923

Re: RFC v2: post-init-read-only protection for data allocated dynamically

From Dave Hansen <dave.hansen@intel.com>
Newsgroups linux.kernel
Subject Re: RFC v2: post-init-read-only protection for data allocated dynamically
Date 2017-05-10 17:50 +0200
Message-ID <tFC2d-2vc-7@gated-at.bofh.it> (permalink)
References (2 earlier) <tDIY9-yX-1@gated-at.bofh.it> <tFuR4-6F7-11@gated-at.bofh.it> <tFvDs-6WY-31@gated-at.bofh.it> <tFyhX-fW-11@gated-at.bofh.it> <tFBIS-2p1-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 05/10/2017 08:19 AM, Igor Stoppa wrote:
> So I'd like to play a little what-if scenario:
> what if I was to support exclusively virtual memory and convert to it
> everything that might need sealing?

Because of the issues related to fracturing large pages, you might have
had to go this route eventually anyway.  Changing the kernel linear map
isn't nice.

FWIW, you could test this scheme by just converting all the users to
vmalloc() and seeing what breaks.  They'd all end up rounding up all
their allocations to PAGE_SIZE, but that'd be fine for testing.

Could you point out 5 or 10 places in the kernel that you want to convert?

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


Thread

RFC v2: post-init-read-only protection for data allocated dynamically Igor Stoppa <igor.stoppa@huawei.com> - 2017-05-03 14:10 +0200
  Re: RFC v2: post-init-read-only protection for data allocated  dynamically Igor Stoppa <igor.stoppa@huawei.com> - 2017-05-04 10:20 +0200
    Re: RFC v2: post-init-read-only protection for data allocated  dynamically Dave Hansen <dave.hansen@intel.com> - 2017-05-04 16:40 +0200
      Re: RFC v2: post-init-read-only protection for data allocated  dynamically Igor Stoppa <igor.stoppa@huawei.com> - 2017-05-05 11:00 +0200
  Re: RFC v2: post-init-read-only protection for data allocated  dynamically Michal Hocko <mhocko@kernel.org> - 2017-05-04 13:30 +0200
    Re: RFC v2: post-init-read-only protection for data allocated  dynamically Igor Stoppa <igor.stoppa@huawei.com> - 2017-05-04 14:20 +0200
      Re: RFC v2: post-init-read-only protection for data allocated  dynamically Michal Hocko <mhocko@kernel.org> - 2017-05-04 15:20 +0200
        Re: RFC v2: post-init-read-only protection for data allocated  dynamically Igor Stoppa <igor.stoppa@huawei.com> - 2017-05-04 15:40 +0200
          Re: RFC v2: post-init-read-only protection for data allocated  dynamically Michal Hocko <mhocko@kernel.org> - 2017-05-04 16:10 +0200
            Re: RFC v2: post-init-read-only protection for data allocated  dynamically Dave Hansen <dave.hansen@intel.com> - 2017-05-04 19:30 +0200
              Re: RFC v2: post-init-read-only protection for data allocated  dynamically Igor Stoppa <igor.stoppa@huawei.com> - 2017-05-05 14:10 +0200
            Re: RFC v2: post-init-read-only protection for data allocated  dynamically Igor Stoppa <igor.stoppa@huawei.com> - 2017-05-05 14:30 +0200
              Re: RFC v2: post-init-read-only protection for data allocated  dynamically Michal Hocko <mhocko@kernel.org> - 2017-05-10 09:50 +0200
  Re: RFC v2: post-init-read-only protection for data allocated  dynamically Laura Abbott <labbott@redhat.com> - 2017-05-04 19:00 +0200
    Re: RFC v2: post-init-read-only protection for data allocated  dynamically Igor Stoppa <igor.stoppa@huawei.com> - 2017-05-05 12:50 +0200
      Re: RFC v2: post-init-read-only protection for data allocated  dynamically Laura Abbott <labbott@redhat.com> - 2017-05-08 17:30 +0200
        Re: RFC v2: post-init-read-only protection for data allocated  dynamically Igor Stoppa <igor.stoppa@huawei.com> - 2017-05-09 11:50 +0200
      Re: RFC v2: post-init-read-only protection for data allocated  dynamically Michal Hocko <mhocko@kernel.org> - 2017-05-10 10:10 +0200
        Re: RFC v2: post-init-read-only protection for data allocated  dynamically Igor Stoppa <igor.stoppa@huawei.com> - 2017-05-10 11:00 +0200
          Re: RFC v2: post-init-read-only protection for data allocated  dynamically Michal Hocko <mhocko@kernel.org> - 2017-05-10 13:50 +0200
            Re: RFC v2: post-init-read-only protection for data allocated  dynamically Igor Stoppa <igor.stoppa@huawei.com> - 2017-05-10 17:30 +0200
              Re: RFC v2: post-init-read-only protection for data allocated  dynamically Dave Hansen <dave.hansen@intel.com> - 2017-05-10 17:50 +0200

csiph-web