Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1190937 > unrolled thread
| Started by | Jan Kara <jack@suse.cz> |
|---|---|
| First post | 2015-07-23 15:50 +0200 |
| Last post | 2015-07-23 16:20 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH] mm/Kconfig: NEED_BOUNCE_POOL: clean-up condition Jan Kara <jack@suse.cz> - 2015-07-23 15:50 +0200
Re: [PATCH] mm/Kconfig: NEED_BOUNCE_POOL: clean-up condition Valentin Rothberg <valentinrothberg@gmail.com> - 2015-07-23 16:10 +0200
Re: [PATCH] mm/Kconfig: NEED_BOUNCE_POOL: clean-up condition Valentin Rothberg <valentinrothberg@gmail.com> - 2015-07-23 16:20 +0200
| From | Jan Kara <jack@suse.cz> |
|---|---|
| Date | 2015-07-23 15:50 +0200 |
| Subject | Re: [PATCH] mm/Kconfig: NEED_BOUNCE_POOL: clean-up condition |
| Message-ID | <pPp2O-8kA-17@gated-at.bofh.it> |
On Thu 23-07-15 13:18:06, Valentin Rothberg wrote:
> commit 106542e7987c ("fs: Remove ext3 filesystem driver") removed ext3
> and JBD, hence remove the superfluous condition.
>
> Signed-off-by: Valentin Rothberg <valentinrothberg@gmail.com>
> ---
> I detected the issue with undertaker-checkpatch
> (https://undertaker.cs.fau.de)
Thanks. I have added your patch into my tree. BTW, is the checker automated
enough that it could be made part of the 0-day tests Fengguang runs?
Honza
> mm/Kconfig | 8 +-------
> 1 file changed, 1 insertion(+), 7 deletions(-)
>
> diff --git a/mm/Kconfig b/mm/Kconfig
> index e79de2bd12cd..d4e6495a720f 100644
> --- a/mm/Kconfig
> +++ b/mm/Kconfig
> @@ -299,15 +299,9 @@ config BOUNCE
> # On the 'tile' arch, USB OHCI needs the bounce pool since tilegx will often
> # have more than 4GB of memory, but we don't currently use the IOTLB to present
> # a 32-bit address to OHCI. So we need to use a bounce pool instead.
> -#
> -# We also use the bounce pool to provide stable page writes for jbd. jbd
> -# initiates buffer writeback without locking the page or setting PG_writeback,
> -# and fixing that behavior (a second time; jbd2 doesn't have this problem) is
> -# a major rework effort. Instead, use the bounce buffer to snapshot pages
> -# (until jbd goes away). The only jbd user is ext3.
> config NEED_BOUNCE_POOL
> bool
> - default y if (TILE && USB_OHCI_HCD) || (BLK_DEV_INTEGRITY && JBD)
> + default y if TILE && USB_OHCI_HCD
>
> config NR_QUICK
> int
> --
> 1.9.1
>
--
Jan Kara <jack@suse.com>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Valentin Rothberg <valentinrothberg@gmail.com> |
|---|---|
| Date | 2015-07-23 16:10 +0200 |
| Message-ID | <pPpm9-v1-7@gated-at.bofh.it> |
| In reply to | #1190937 |
Hi Jan,
On Thu, Jul 23, 2015 at 3:47 PM, Jan Kara <jack@suse.cz> wrote:
> On Thu 23-07-15 13:18:06, Valentin Rothberg wrote:
>> commit 106542e7987c ("fs: Remove ext3 filesystem driver") removed ext3
>> and JBD, hence remove the superfluous condition.
>>
>> Signed-off-by: Valentin Rothberg <valentinrothberg@gmail.com>
>> ---
>> I detected the issue with undertaker-checkpatch
>> (https://undertaker.cs.fau.de)
>
> Thanks. I have added your patch into my tree. BTW, is the checker automated
> enough that it could be made part of the 0-day tests Fengguang runs?
The checker is automated, but it also produces false positives for
certain kinds of bugs/defects, so we decided to run the bot on our
servers at the University of Erlangen-Nuremberg. It runs daily on
linux-next; we check the reports and fix the issue as above or we
report it to the authors and maintainers. So we catch things as soon
as they are in linux-next.
If you want to check for symbolic issues (i.e., references on
undefined Kconfig opionts/symbols) you can use
scripts/checkkconfigsymbols.py which detects most of the cases.
However, this script did not catch the upper case (I will check why).
Kind regards,
Valentin
> Honza
>
>> mm/Kconfig | 8 +-------
>> 1 file changed, 1 insertion(+), 7 deletions(-)
>>
>> diff --git a/mm/Kconfig b/mm/Kconfig
>> index e79de2bd12cd..d4e6495a720f 100644
>> --- a/mm/Kconfig
>> +++ b/mm/Kconfig
>> @@ -299,15 +299,9 @@ config BOUNCE
>> # On the 'tile' arch, USB OHCI needs the bounce pool since tilegx will often
>> # have more than 4GB of memory, but we don't currently use the IOTLB to present
>> # a 32-bit address to OHCI. So we need to use a bounce pool instead.
>> -#
>> -# We also use the bounce pool to provide stable page writes for jbd. jbd
>> -# initiates buffer writeback without locking the page or setting PG_writeback,
>> -# and fixing that behavior (a second time; jbd2 doesn't have this problem) is
>> -# a major rework effort. Instead, use the bounce buffer to snapshot pages
>> -# (until jbd goes away). The only jbd user is ext3.
>> config NEED_BOUNCE_POOL
>> bool
>> - default y if (TILE && USB_OHCI_HCD) || (BLK_DEV_INTEGRITY && JBD)
>> + default y if TILE && USB_OHCI_HCD
>>
>> config NR_QUICK
>> int
>> --
>> 1.9.1
>>
> --
> Jan Kara <jack@suse.com>
> SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Valentin Rothberg <valentinrothberg@gmail.com> |
|---|---|
| Date | 2015-07-23 16:20 +0200 |
| Message-ID | <pPpvQ-Ga-1@gated-at.bofh.it> |
| In reply to | #1190941 |
On Thu, Jul 23, 2015 at 4:01 PM, Valentin Rothberg
<valentinrothberg@gmail.com> wrote:
> Hi Jan,
>
> On Thu, Jul 23, 2015 at 3:47 PM, Jan Kara <jack@suse.cz> wrote:
>> On Thu 23-07-15 13:18:06, Valentin Rothberg wrote:
>>> commit 106542e7987c ("fs: Remove ext3 filesystem driver") removed ext3
>>> and JBD, hence remove the superfluous condition.
>>>
>>> Signed-off-by: Valentin Rothberg <valentinrothberg@gmail.com>
>>> ---
>>> I detected the issue with undertaker-checkpatch
>>> (https://undertaker.cs.fau.de)
>>
>> Thanks. I have added your patch into my tree. BTW, is the checker automated
>> enough that it could be made part of the 0-day tests Fengguang runs?
>
> The checker is automated, but it also produces false positives for
> certain kinds of bugs/defects, so we decided to run the bot on our
> servers at the University of Erlangen-Nuremberg. It runs daily on
> linux-next; we check the reports and fix the issue as above or we
> report it to the authors and maintainers. So we catch things as soon
> as they are in linux-next.
>
> If you want to check for symbolic issues (i.e., references on
> undefined Kconfig opionts/symbols) you can use
> scripts/checkkconfigsymbols.py which detects most of the cases.
> However, this script did not catch the upper case (I will check why).
checkkconfigsymbols.py did not detect the issue since it does not
check (yet) default statements. I fixed it locally and will send a
patch tomorrow after testing it on more Linux versions.
Kind regards,
Valentin
> Kind regards,
> Valentin
>
>> Honza
>>
>>> mm/Kconfig | 8 +-------
>>> 1 file changed, 1 insertion(+), 7 deletions(-)
>>>
>>> diff --git a/mm/Kconfig b/mm/Kconfig
>>> index e79de2bd12cd..d4e6495a720f 100644
>>> --- a/mm/Kconfig
>>> +++ b/mm/Kconfig
>>> @@ -299,15 +299,9 @@ config BOUNCE
>>> # On the 'tile' arch, USB OHCI needs the bounce pool since tilegx will often
>>> # have more than 4GB of memory, but we don't currently use the IOTLB to present
>>> # a 32-bit address to OHCI. So we need to use a bounce pool instead.
>>> -#
>>> -# We also use the bounce pool to provide stable page writes for jbd. jbd
>>> -# initiates buffer writeback without locking the page or setting PG_writeback,
>>> -# and fixing that behavior (a second time; jbd2 doesn't have this problem) is
>>> -# a major rework effort. Instead, use the bounce buffer to snapshot pages
>>> -# (until jbd goes away). The only jbd user is ext3.
>>> config NEED_BOUNCE_POOL
>>> bool
>>> - default y if (TILE && USB_OHCI_HCD) || (BLK_DEV_INTEGRITY && JBD)
>>> + default y if TILE && USB_OHCI_HCD
>>>
>>> config NR_QUICK
>>> int
>>> --
>>> 1.9.1
>>>
>> --
>> Jan Kara <jack@suse.com>
>> SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web