Re: [PATCH] lib: add module unload support to sort tests

2017-12-20 Thread Pravin Shedge
On Wed, Dec 20, 2017 at 9:43 AM, Paul Gortmaker wrote: > [Re: [PATCH] lib: add module unload support to sort tests] On 19/12/2017 (Tue > 23:10) Pravin Shedge wrote: > >> On Tue, Dec 19, 2017 at 3:51 AM, Andrew Morton >> wrote: >> > On Sun, 17 Dec 2017 15:19:27 +0

Re: [PATCH] lib: add module unload support to sort tests

2017-12-19 Thread Paul Gortmaker
[Re: [PATCH] lib: add module unload support to sort tests] On 19/12/2017 (Tue 23:10) Pravin Shedge wrote: > On Tue, Dec 19, 2017 at 3:51 AM, Andrew Morton > wrote: > > On Sun, 17 Dec 2017 15:19:27 +0530 Pravin Shedge > > wrote: > > > >> test_sort.c perform

Re: [PATCH] lib: add module unload support to sort tests

2017-12-19 Thread Randy Dunlap
On 12/19/17 14:51, Andrew Morton wrote: > On Tue, 19 Dec 2017 23:10:00 +0530 Pravin Shedge > wrote: > >>> >>> If so, why do you think we shiould alter lib/test_sort.c to behave in >>> this atypical fashion? >> >> If test case is going affects only at boot time or at module load >> time, it's sma

Re: [PATCH] lib: add module unload support to sort tests

2017-12-19 Thread Andrew Morton
On Tue, 19 Dec 2017 23:10:00 +0530 Pravin Shedge wrote: > > > > If so, why do you think we shiould alter lib/test_sort.c to behave in > > this atypical fashion? > > If test case is going affects only at boot time or at module load > time, it's smart decision to unload module > automatically on

Re: [PATCH] lib: add module unload support to sort tests

2017-12-19 Thread Pravin Shedge
On Tue, Dec 19, 2017 at 3:51 AM, Andrew Morton wrote: > On Sun, 17 Dec 2017 15:19:27 +0530 Pravin Shedge > wrote: > >> test_sort.c perform array-based and linked list sort test. Code allows to >> compile either as a loadable modules or builtin into the kernel. >> >> Current code is not allow to

Re: [PATCH] lib: add module unload support to sort tests

2017-12-18 Thread Andrew Morton
On Sun, 17 Dec 2017 15:19:27 +0530 Pravin Shedge wrote: > test_sort.c perform array-based and linked list sort test. Code allows to > compile either as a loadable modules or builtin into the kernel. > > Current code is not allow to unload the test_sort.ko module after > successful completion. >

[PATCH] lib: add module unload support to sort tests

2017-12-17 Thread Pravin Shedge
test_sort.c perform array-based and linked list sort test. Code allows to compile either as a loadable modules or builtin into the kernel. Current code is not allow to unload the test_sort.ko module after successful completion. This patch add support to unload the "test_sort.ko" module. Signed-o