move_pages08: E2BIG was removed in 2.6.29
PATCH v2 1/1 move_pages08: E2BIG was removed in 2.6.29
Following commit reworked do_pages_move() to work by page-sized chunks and also removed E2BIG:
commit 3140a2273009c01c27d316f35ab76a37e105fdd8
Author: Brice Goglin <[email protected]> Date: Tue Jan 6 14:38:57 2009 -0800
mm: rework do_pages_move() to work on page_sized chunks
So, move_pages08 makes sense only for kernels < 2.6.29.
--- .../kernel/syscalls/move_pages/move_pages08.c | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-)
testcases/kernel/syscalls/move_pages/move_pages08.c +13 -2
@@ -46,7 +46,7 @@* Initial Version. * * Restrictions -* None +* kernel < 2.6.29 */ #include <sys/mman.h>
@@ -129,6 +129,17 @@ int main(int argc, char **argv)*/ void setup (void ) { +/* +* commit 3140a2273009c01c27d316f35ab76a37e105fdd8 +* Author: Brice Goglin <[email protected]> +* Date: Tue Jan 6 14:38:57 2009 -0800 +* mm: rework do_pages_move() to work on page_sized chunks +* +* reworked do_pages_move() to work by page-sized chunks and removed E2BIG +*/ +if ((tst_kvercmp (2 ,6 ,29 )) >=0 ) +tst_brkm (TCONF ,NULL ,"move_pages: E2BIG was removed in " +"commit 3140a2273009c01c27d316f35ab76a37e105fdd8" );tst_sig (FORK ,DEF_HANDLER , cleanup);
@@ -151,4 +162,4 @@ void cleanup(void)*/ TEST_CLEANUP ; - } + }
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 4 lines · Jan Stancek
Following commit reworked
do_pages_move()to work by page-sized chunks and also removed E2BIG:
Quoted 8 lines
commit
3140a2273009c01c27d316f35ab76a37e105fdd8Author: Brice Goglin <[email protected]> Date: Tue Jan 6 14:38:57 2009 -0800mm: rework
do_pages_move()to work onpage_sizedchunksSo,
move_pages08makes sense only for kernels < 2.6.29.Signed-off-by Jan Stancek <[email protected]>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 10 lines · Jan Stancek
Following commit reworked
do_pages_move()to work by page-sized chunks and also removed E2BIG:commit
3140a2273009c01c27d316f35ab76a37e105fdd8Author: Brice Goglin <[email protected]> Date: Tue Jan 6 14:38:57 2009 -0800mm: rework
do_pages_move()to work onpage_sizedchunksSo,
move_pages08makes sense only for kernels < 2.6.29.
pushed, thanks all,
Wanlong Gao
Quoted 19 lines
Signed-off-by Jan Stancek <[email protected]>--- .../kernel/syscalls/move_pages/move_pages08.c | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-)------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Quoted 4 lines
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list