Re: [RFC PATCH] sys_read: add a compat_sys_read for 64bit system

2016-06-13 Thread Weidong Wang
On 2016/6/10 1:08, Andy Lutomirski wrote: > On Tue, Jun 7, 2016 at 7:14 PM, Zhangjian (Bamvor) > wrote: >> Hi, >> >> On 2016/6/8 9:33, Weidong Wang wrote: >>> >>> Test 32 progress and 64 progress on the 64bit system with >>> this progress: >>> >>> int main(int argc,

Re: [RFC PATCH] sys_read: add a compat_sys_read for 64bit system

2016-06-13 Thread Weidong Wang
On 2016/6/10 1:08, Andy Lutomirski wrote: > On Tue, Jun 7, 2016 at 7:14 PM, Zhangjian (Bamvor) > wrote: >> Hi, >> >> On 2016/6/8 9:33, Weidong Wang wrote: >>> >>> Test 32 progress and 64 progress on the 64bit system with >>> this progress: >>> >>> int main(int argc, char **argv) >>> { >>>

Re: [RFC PATCH] sys_read: add a compat_sys_read for 64bit system

2016-06-09 Thread Andy Lutomirski
On Tue, Jun 7, 2016 at 7:14 PM, Zhangjian (Bamvor) wrote: > Hi, > > On 2016/6/8 9:33, Weidong Wang wrote: >> >> Test 32 progress and 64 progress on the 64bit system with >> this progress: >> >> int main(int argc, char **argv) >> { >> int fd = 0; >>

Re: [RFC PATCH] sys_read: add a compat_sys_read for 64bit system

2016-06-09 Thread Andy Lutomirski
On Tue, Jun 7, 2016 at 7:14 PM, Zhangjian (Bamvor) wrote: > Hi, > > On 2016/6/8 9:33, Weidong Wang wrote: >> >> Test 32 progress and 64 progress on the 64bit system with >> this progress: >> >> int main(int argc, char **argv) >> { >> int fd = 0; >> int i, ret = 0; >>

Re: [RFC PATCH] sys_read: add a compat_sys_read for 64bit system

2016-06-08 Thread Zhangjian (Bamvor)
Hi, Peter On 2016/6/8 15:33, H. Peter Anvin wrote: On June 7, 2016 7:14:41 PM PDT, "Zhangjian (Bamvor)" wrote: Hi, On 2016/6/8 9:33, Weidong Wang wrote: Test 32 progress and 64 progress on the 64bit system with this progress: int main(int argc, char **argv) {

Re: [RFC PATCH] sys_read: add a compat_sys_read for 64bit system

2016-06-08 Thread Zhangjian (Bamvor)
Hi, Peter On 2016/6/8 15:33, H. Peter Anvin wrote: On June 7, 2016 7:14:41 PM PDT, "Zhangjian (Bamvor)" wrote: Hi, On 2016/6/8 9:33, Weidong Wang wrote: Test 32 progress and 64 progress on the 64bit system with this progress: int main(int argc, char **argv) { int fd = 0;

Re: [RFC PATCH] sys_read: add a compat_sys_read for 64bit system

2016-06-08 Thread H. Peter Anvin
On June 7, 2016 7:14:41 PM PDT, "Zhangjian (Bamvor)" wrote: >Hi, > >On 2016/6/8 9:33, Weidong Wang wrote: >> Test 32 progress and 64 progress on the 64bit system with >> this progress: >> >> int main(int argc, char **argv) >> { >> int fd = 0; >> int

Re: [RFC PATCH] sys_read: add a compat_sys_read for 64bit system

2016-06-08 Thread H. Peter Anvin
On June 7, 2016 7:14:41 PM PDT, "Zhangjian (Bamvor)" wrote: >Hi, > >On 2016/6/8 9:33, Weidong Wang wrote: >> Test 32 progress and 64 progress on the 64bit system with >> this progress: >> >> int main(int argc, char **argv) >> { >> int fd = 0; >> int i, ret = 0; >> char

Re: [RFC PATCH] sys_read: add a compat_sys_read for 64bit system

2016-06-07 Thread Zhangjian (Bamvor)
Hi, On 2016/6/8 9:33, Weidong Wang wrote: Test 32 progress and 64 progress on the 64bit system with this progress: int main(int argc, char **argv) { int fd = 0; int i, ret = 0; char buf[512]; unsigned long count = -1; fd = open("/tmp", O_RDONLY);

Re: [RFC PATCH] sys_read: add a compat_sys_read for 64bit system

2016-06-07 Thread Zhangjian (Bamvor)
Hi, On 2016/6/8 9:33, Weidong Wang wrote: Test 32 progress and 64 progress on the 64bit system with this progress: int main(int argc, char **argv) { int fd = 0; int i, ret = 0; char buf[512]; unsigned long count = -1; fd = open("/tmp", O_RDONLY);

[RFC PATCH] sys_read: add a compat_sys_read for 64bit system

2016-06-07 Thread Weidong Wang
Test 32 progress and 64 progress on the 64bit system with this progress: int main(int argc, char **argv) { int fd = 0; int i, ret = 0; char buf[512]; unsigned long count = -1; fd = open("/tmp", O_RDONLY); if (fd < -1) { printf("Pls

[RFC PATCH] sys_read: add a compat_sys_read for 64bit system

2016-06-07 Thread Weidong Wang
Test 32 progress and 64 progress on the 64bit system with this progress: int main(int argc, char **argv) { int fd = 0; int i, ret = 0; char buf[512]; unsigned long count = -1; fd = open("/tmp", O_RDONLY); if (fd < -1) { printf("Pls