[LEDE-DEV] kernel: Enable fadvise on older kernels.

Message ID 20171112004953.25018-1-rosenp@gmail.com
State Accepted
Headers show
Series
  • [LEDE-DEV] kernel: Enable fadvise on older kernels.
Related show

Commit Message

Rosen Penev Nov. 12, 2017, 12:49 a.m.
Backport of 56342ee2bcbf9bf8918a01045471c7bb7faa1596 for older kernels.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
 target/linux/generic/config-3.18 | 2 +-
 target/linux/generic/config-4.4  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Rosen Penev Nov. 12, 2017, 12:50 a.m. | #1
Any chance of this being backported to LEDE stable?

On Sat, Nov 11, 2017 at 4:49 PM, Rosen Penev <rosenp@gmail.com> wrote:
> Backport of 56342ee2bcbf9bf8918a01045471c7bb7faa1596 for older kernels.
>
> Signed-off-by: Rosen Penev <rosenp@gmail.com>
> ---
>  target/linux/generic/config-3.18 | 2 +-
>  target/linux/generic/config-4.4  | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/target/linux/generic/config-3.18 b/target/linux/generic/config-3.18
> index 1e3f0b5abe..4909fa0cde 100644
> --- a/target/linux/generic/config-3.18
> +++ b/target/linux/generic/config-3.18
> @@ -90,7 +90,7 @@ CONFIG_32BIT=y
>  # CONFIG_ADM6996_PHY is not set
>  # CONFIG_ADM8211 is not set
>  # CONFIG_ADT7316 is not set
> -# CONFIG_ADVISE_SYSCALLS is not set
> +CONFIG_ADVISE_SYSCALLS=y
>  # CONFIG_ADXRS450 is not set
>  CONFIG_AEABI=y
>  # CONFIG_AFFS_FS is not set
> diff --git a/target/linux/generic/config-4.4 b/target/linux/generic/config-4.4
> index 1c0af9597f..23ed22d4c3 100644
> --- a/target/linux/generic/config-4.4
> +++ b/target/linux/generic/config-4.4
> @@ -82,7 +82,7 @@ CONFIG_32BIT=y
>  # CONFIG_ADM6996_PHY is not set
>  # CONFIG_ADM8211 is not set
>  # CONFIG_ADT7316 is not set
> -# CONFIG_ADVISE_SYSCALLS is not set
> +CONFIG_ADVISE_SYSCALLS=y
>  # CONFIG_ADXRS450 is not set
>  CONFIG_AEABI=y
>  # CONFIG_AFFS_FS is not set
> --
> 2.13.6
>
John Crispin Nov. 17, 2017, 8:30 a.m. | #2
On 12/11/17 01:50, Rosen Penev wrote:
> Any chance of this being backported to LEDE stable?

should be ok, send a patch please

     John

>
> On Sat, Nov 11, 2017 at 4:49 PM, Rosen Penev <rosenp@gmail.com> wrote:
>> Backport of 56342ee2bcbf9bf8918a01045471c7bb7faa1596 for older kernels.
>>
>> Signed-off-by: Rosen Penev <rosenp@gmail.com>
>> ---
>>   target/linux/generic/config-3.18 | 2 +-
>>   target/linux/generic/config-4.4  | 2 +-
>>   2 files changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/target/linux/generic/config-3.18 b/target/linux/generic/config-3.18
>> index 1e3f0b5abe..4909fa0cde 100644
>> --- a/target/linux/generic/config-3.18
>> +++ b/target/linux/generic/config-3.18
>> @@ -90,7 +90,7 @@ CONFIG_32BIT=y
>>   # CONFIG_ADM6996_PHY is not set
>>   # CONFIG_ADM8211 is not set
>>   # CONFIG_ADT7316 is not set
>> -# CONFIG_ADVISE_SYSCALLS is not set
>> +CONFIG_ADVISE_SYSCALLS=y
>>   # CONFIG_ADXRS450 is not set
>>   CONFIG_AEABI=y
>>   # CONFIG_AFFS_FS is not set
>> diff --git a/target/linux/generic/config-4.4 b/target/linux/generic/config-4.4
>> index 1c0af9597f..23ed22d4c3 100644
>> --- a/target/linux/generic/config-4.4
>> +++ b/target/linux/generic/config-4.4
>> @@ -82,7 +82,7 @@ CONFIG_32BIT=y
>>   # CONFIG_ADM6996_PHY is not set
>>   # CONFIG_ADM8211 is not set
>>   # CONFIG_ADT7316 is not set
>> -# CONFIG_ADVISE_SYSCALLS is not set
>> +CONFIG_ADVISE_SYSCALLS=y
>>   # CONFIG_ADXRS450 is not set
>>   CONFIG_AEABI=y
>>   # CONFIG_AFFS_FS is not set
>> --
>> 2.13.6
>>
> _______________________________________________
> Lede-dev mailing list
> Lede-dev@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev
Rosen Penev Nov. 18, 2017, 12:54 a.m. | #3
On Fri, 2017-11-17 at 09:30 +0100, John Crispin wrote:
> 
> On 12/11/17 01:50, Rosen Penev wrote:
> > Any chance of this being backported to LEDE stable?
> 
> should be ok, send a patch please
> 
Not quite sure what you mean. The patch applies cleanly. I'll resend
one based on the lede-17.01 branch.
>      John
> 
> > 
> > On Sat, Nov 11, 2017 at 4:49 PM, Rosen Penev <rosenp@gmail.com>
> > wrote:
> > > Backport of 56342ee2bcbf9bf8918a01045471c7bb7faa1596 for older
> > > kernels.
> > > 
> > > Signed-off-by: Rosen Penev <rosenp@gmail.com>
> > > ---
> > >   target/linux/generic/config-3.18 | 2 +-
> > >   target/linux/generic/config-4.4  | 2 +-
> > >   2 files changed, 2 insertions(+), 2 deletions(-)
> > > 
> > > diff --git a/target/linux/generic/config-3.18
> > > b/target/linux/generic/config-3.18
> > > index 1e3f0b5abe..4909fa0cde 100644
> > > --- a/target/linux/generic/config-3.18
> > > +++ b/target/linux/generic/config-3.18
> > > @@ -90,7 +90,7 @@ CONFIG_32BIT=y
> > >   # CONFIG_ADM6996_PHY is not set
> > >   # CONFIG_ADM8211 is not set
> > >   # CONFIG_ADT7316 is not set
> > > -# CONFIG_ADVISE_SYSCALLS is not set
> > > +CONFIG_ADVISE_SYSCALLS=y
> > >   # CONFIG_ADXRS450 is not set
> > >   CONFIG_AEABI=y
> > >   # CONFIG_AFFS_FS is not set
> > > diff --git a/target/linux/generic/config-4.4
> > > b/target/linux/generic/config-4.4
> > > index 1c0af9597f..23ed22d4c3 100644
> > > --- a/target/linux/generic/config-4.4
> > > +++ b/target/linux/generic/config-4.4
> > > @@ -82,7 +82,7 @@ CONFIG_32BIT=y
> > >   # CONFIG_ADM6996_PHY is not set
> > >   # CONFIG_ADM8211 is not set
> > >   # CONFIG_ADT7316 is not set
> > > -# CONFIG_ADVISE_SYSCALLS is not set
> > > +CONFIG_ADVISE_SYSCALLS=y
> > >   # CONFIG_ADXRS450 is not set
> > >   CONFIG_AEABI=y
> > >   # CONFIG_AFFS_FS is not set
> > > --
> > > 2.13.6
> > > 
> > 
> > _______________________________________________
> > Lede-dev mailing list
> > Lede-dev@lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/lede-dev
> 
>

Patch

diff --git a/target/linux/generic/config-3.18 b/target/linux/generic/config-3.18
index 1e3f0b5abe..4909fa0cde 100644
--- a/target/linux/generic/config-3.18
+++ b/target/linux/generic/config-3.18
@@ -90,7 +90,7 @@  CONFIG_32BIT=y
 # CONFIG_ADM6996_PHY is not set
 # CONFIG_ADM8211 is not set
 # CONFIG_ADT7316 is not set
-# CONFIG_ADVISE_SYSCALLS is not set
+CONFIG_ADVISE_SYSCALLS=y
 # CONFIG_ADXRS450 is not set
 CONFIG_AEABI=y
 # CONFIG_AFFS_FS is not set
diff --git a/target/linux/generic/config-4.4 b/target/linux/generic/config-4.4
index 1c0af9597f..23ed22d4c3 100644
--- a/target/linux/generic/config-4.4
+++ b/target/linux/generic/config-4.4
@@ -82,7 +82,7 @@  CONFIG_32BIT=y
 # CONFIG_ADM6996_PHY is not set
 # CONFIG_ADM8211 is not set
 # CONFIG_ADT7316 is not set
-# CONFIG_ADVISE_SYSCALLS is not set
+CONFIG_ADVISE_SYSCALLS=y
 # CONFIG_ADXRS450 is not set
 CONFIG_AEABI=y
 # CONFIG_AFFS_FS is not set