public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: David Hildenbrand <david@redhat.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v1 0/3] userfaultfd: Fix and remove compile-time TCONF handling
Date: Mon, 28 Nov 2022 19:42:09 +0100	[thread overview]
Message-ID: <Y4UBAa9GS9SU/bVt@pevik> (raw)
In-Reply-To: <abd991c4-e6eb-349e-807c-71e7283ee83e@redhat.com>

> On 28.11.22 13:29, Martin Doucha wrote:
> > On 28. 11. 22 12:57, Petr Vorel wrote:
> > > Hi David,

> > > If I remember correctly the reason for runtime check was ppc64le
> > > missing userfaultfd minor fault support which needs to be check in runtime,
> > > right? [1]. At least this is how I understand Martin's suggestion [2] to replace
> > > compile time check with lapi. I'd state this reason at first commit message as
> > > it's not obvious.

> > The reason for runtime check is that the presence of the header file
> > does not guarantee that the kernel supports UFFD API. The reason for
> > LAPI is that we only care about actual kernel support, not build-time
> > header files.
Thx, agree. BTW I was thinking about compile time check #ifdef
UFFD_FEATURE_MINOR_SHMEM, but that's the same as ifdef HAVE_LINUX_USERFAULTFD_H.


> Right. Petr, do you still want a commit message state?

I can just add to commit message of the first commit the reason Martin reported:
ppc64le on kernel 5.14 does not seem to support userfaultfd minor fault.

(no need to resent new version).

Kind regards,
Petr


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2022-11-28 18:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-28 11:18 [LTP] [PATCH v1 0/3] userfaultfd: Fix and remove compile-time TCONF handling David Hildenbrand
2022-11-28 11:18 ` [LTP] [PATCH v1 1/3] lapi/userfaultfd.h: Preparation for removing compile-time TCONF handling from userfaultfd testcases David Hildenbrand
2022-11-28 11:18 ` [LTP] [PATCH v1 2/3] security/dirtyc0w_shmem: Fix compile-time absence of UFFD_FEATURE_MINOR_SHMEM David Hildenbrand
2022-11-28 11:18 ` [LTP] [PATCH v1 3/3] syscalls/userfaultfd01: Remove compile-time TCONF handling David Hildenbrand
2022-11-28 11:57 ` [LTP] [PATCH v1 0/3] userfaultfd: Fix and remove " Petr Vorel
2022-11-28 12:29   ` Martin Doucha
2022-11-28 15:44     ` David Hildenbrand
2022-11-28 18:42       ` Petr Vorel [this message]
2022-11-29  8:29         ` Petr Vorel
2022-11-29  8:46           ` David Hildenbrand

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=Y4UBAa9GS9SU/bVt@pevik \
    --to=pvorel@suse.cz \
    --cc=david@redhat.com \
    --cc=ltp@lists.linux.it \
    /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