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


Groups > linux.kernel > #1391373

Re: [PATCH 3/6] intel_sgx: driver for Intel Secure Guard eXtensions

From Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/6] intel_sgx: driver for Intel Secure Guard eXtensions
Date 2016-04-29 22:10 +0200
Message-ID <rtmTD-3yl-9@gated-at.bofh.it> (permalink)
References <rrSEj-1jR-33@gated-at.bofh.it> <rrSEj-1jR-41@gated-at.bofh.it> <rsrC2-520-11@gated-at.bofh.it> <rsx4K-1jL-53@gated-at.bofh.it> <rsHdM-1uH-15@gated-at.bofh.it>
Organization Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo

Show all headers | View raw


On Wed, Apr 27, 2016 at 04:32:23PM -0700, Jethro Beekman wrote:
> On 27-04-16 05:40, Jarkko Sakkinen wrote:
> >> The hardware supports calling EEXTEND on only a part of a page, I think the
> >> driver should also support that.
> >
> > Why would you want to do that?
> 
> You might have segments in a binary that don't start at the beginning of a page
> or that end before the end of a page. For example:
> 
>   Type           Offset             VirtAddr           PhysAddr
>                  FileSiz            MemSiz              Flags  Align
>   LOAD           0x0000000000000000 0x0000000000000000 0x0000000000000000
>                  0x000000000001bcac 0x000000000001bcac  R E    1000
>   LOAD           0x000000000001c8e8 0x000000000001c8e8 0x000000000001c8e8
>                  0x0000000000000790 0x0000000000000c68  RW     1000
> 
> There's no need to measure the extra padding (0x1bd00--0x1c7ff and
> 0x1cb00--0x1cfff) in this case.

Do you see this as a performance issue or why do you think that this
would hurt that much?

> Jethro

/Jarkko

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


Thread

Re: [PATCH 3/6] intel_sgx: driver for Intel Secure Guard eXtensions Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-04-29 22:10 +0200
  Re: [PATCH 3/6] intel_sgx: driver for Intel Secure Guard eXtensions Jethro Beekman <kernel@jbeekman.nl> - 2016-04-30 00:30 +0200
    Re: [PATCH 3/6] intel_sgx: driver for Intel Secure Guard eXtensions Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-05-09 07:30 +0200
      Re: [PATCH 3/6] intel_sgx: driver for Intel Secure Guard eXtensions Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-05-09 09:10 +0200

csiph-web