public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v2] shmget02: check if CONFIG_HUGETLBFS enabled in kernel
Date: Tue, 3 Aug 2021 17:20:26 +0200	[thread overview]
Message-ID: <YQleuulCqCGvyiju@yuki> (raw)
In-Reply-To: <20210802160620.9544-1-bogdan.lezhepekov@suse.com>

Hi!
> Two tests call shmget with a flag SHM_HUGETLB, trying to
> allocate the segment using "huge" pages. The hugetlbpage
> support needs to be enabled in kernel (CONFIG_HUGETLBFS),
> otherwise shmget returns EINVAL.

There are a few minor style problems in the patch, have you checked it
with checkpatch.pl and make check as described in:

https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines#2-coding-style

https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines#6-test-contribution-checklist

-- 
Cyril Hrubis
chrubis@suse.cz

      reply	other threads:[~2021-08-03 15:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-02 16:06 [LTP] [PATCH v2] shmget02: check if CONFIG_HUGETLBFS enabled in kernel Bogdan Lezhepekov
2021-08-03 15:20 ` Cyril Hrubis [this message]

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=YQleuulCqCGvyiju@yuki \
    --to=chrubis@suse.cz \
    --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