xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Xen-devel <xen-devel@lists.xen.org>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>
Subject: [PATCH for-4.9 0/3] Improvements to ERR_PTR() infrastructure
Date: Tue, 1 Nov 2016 10:46:07 +0000	[thread overview]
Message-ID: <1477997170-7795-1-git-send-email-andrew.cooper3@citrix.com> (raw)

One XenServer issue I am looking in to requires improvements to the memory
allocation logic, mostly to avoid losing error information internally.

As a result, I am choosing to make these ERR_PTR() improvements a prerequisite
to avoid accidentally introducing further issues.

Andrew Cooper (3):
  xen/err: Use static inlines and boolean types
  xen/err: Support an optional per-arch slide for the error region
  xen/x86: Use non-canonical pointers for ERR_PTR() errors

 xen/arch/x86/Kconfig         | 18 ++++++++++++++++++
 xen/include/asm-x86/config.h |  8 ++++++++
 xen/include/xen/err.h        | 23 ++++++++++++++++++-----
 3 files changed, 44 insertions(+), 5 deletions(-)

-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

             reply	other threads:[~2016-11-01 10:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-01 10:46 Andrew Cooper [this message]
2016-11-01 10:46 ` [PATCH 1/3] xen/err: Use static inlines and boolean types Andrew Cooper
2016-11-02 11:33   ` Jan Beulich
2016-11-01 10:46 ` [PATCH 2/3] xen/err: Support an optional per-arch slide for the error region Andrew Cooper
2016-11-02 11:37   ` Jan Beulich
2016-11-01 10:46 ` [PATCH 3/3] xen/x86: Use non-canonical pointers for ERR_PTR() errors Andrew Cooper
2016-11-02 11:47   ` Jan Beulich

Reply instructions:

You may reply publicly 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=1477997170-7795-1-git-send-email-andrew.cooper3@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=xen-devel@lists.xen.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).