From: Sedat Dilek <sedat.dilek@gmail.com>
To: Sasha Levin <sasha.levin@oracle.com>, Shaohua Li <shli@fusionio.com>
Cc: linux-mm <linux-mm@kvack.org>,
LKML <linux-kernel@vger.kernel.org>,
linux-next <linux-next@vger.kernel.org>
Subject: Re: [PATCH] mm: fix BUG on madvise early failure
Date: Tue, 15 Jan 2013 01:18:44 +0100 [thread overview]
Message-ID: <CA+icZUW4TW9-VwAMVXXP38eWyVXZ7+9+G6=57cUsWSvN4sMw9g@mail.gmail.com> (raw)
In-Reply-To: <CA+icZUXHksmiZYVU+gTyi+j9q9e1b5R9ZJ2RxUTeWKiey2PRuA@mail.gmail.com>
On Tue, Jan 15, 2013 at 12:44 AM, Sedat Dilek <sedat.dilek@gmail.com> wrote:
> On Mon, Jan 14, 2013 at 10:29 PM, Sedat Dilek <sedat.dilek@gmail.com> wrote:
>> Hi,
>>
>> this patch is for Linux-Next - more exactly next-20130114.
>> Can you please enhance the subject-line of your patch next time.
>>
>> Your patch fixes the issue I have reported a few hours ago in [1].
>>
>> [ TESTCASE ]
>>
>> "madvise02" from Linux Test Project (LTP) see [2]
>>
>> $ cd /opt/ltp/testcases/bin/
>>
>> $ sudo ./madvise02
>> [ OUTPUT ]
>> madvise02 1 TPASS : failed as expected: TEST_ERRNO=EINVAL(22):
>> Invalid argument
>> madvise02 2 TPASS : failed as expected: TEST_ERRNO=EINVAL(22):
>> Invalid argument
>> madvise02 3 TPASS : failed as expected: TEST_ERRNO=EINVAL(22):
>> Invalid argument
>> madvise02 4 TPASS : failed as expected: TEST_ERRNO=ENOMEM(12):
>> Cannot allocate memory
>> madvise02 5 TFAIL : madvise succeeded unexpectedly
>>
>> [ /TESTCASE ]
>>
>> Please feel free and add a...
>>
>> Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
>>
>> Thanks!
>>
>> Regards,
>> - Sedat -
>>
>> [1] http://marc.info/?l=linux-mm&m=135818843710244&w=2
>> [2] http://sourceforge.net/projects/ltp/
>
> You happen to know how I get more verbose-debug outputs?
>
> You have...
>
> [ 57.320031] kernel BUG at block/blk-core.c:2981!
> [ 57.320031] invalid opcode: 0000 [#3] PREEMPT SMP DEBUG_PAGEALLOC
>
> Me has...
>
> [ 1263.965989] Kernel BUG at ffffffff81328b2b [verbose debug info unavailable]
> [ 1263.966022] invalid opcode: 0000 [#1] SMP
>
> CONFIG_DEBUG_PAGEALLOC=y ?
>
> Block-specific debug settings?
>
> $ egrep -i 'block|blk' .config | egrep -i 'debug|dbg'
> # CONFIG_DEBUG_BLK_CGROUP is not set
> # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
>
Hmm, DEBUG_PAGEALLOC=y did not help.
Maybe this one...
$ grep DEBUG_BUGVERBOSE .config
# CONFIG_DEBUG_BUGVERBOSE is not set
- Sedat -
> - Sedat -
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2013-01-15 0:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-14 21:29 Sedat Dilek
2013-01-14 23:44 ` Sedat Dilek
2013-01-15 0:18 ` Sedat Dilek [this message]
2013-01-15 8:55 ` Sedat Dilek
-- strict thread matches above, loose matches on Subject: below --
2013-01-14 19:50 Sasha Levin
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='CA+icZUW4TW9-VwAMVXXP38eWyVXZ7+9+G6=57cUsWSvN4sMw9g@mail.gmail.com' \
--to=sedat.dilek@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux-next@vger.kernel.org \
--cc=sasha.levin@oracle.com \
--cc=shli@fusionio.com \
/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