From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx168.postini.com [74.125.245.168]) by kanga.kvack.org (Postfix) with SMTP id F16276B005D for ; Sun, 6 Jan 2013 11:02:02 -0500 (EST) Received: by mail-bk0-f44.google.com with SMTP id w11so7917854bku.17 for ; Sun, 06 Jan 2013 08:02:01 -0800 (PST) From: Michal Nazarewicz Subject: Re: [PATCH] mm: compaction: fix echo 1 > compact_memory return error issue In-Reply-To: <1357463980.1454.0.camel@kernel.cn.ibm.com> References: <1357458273-28558-1-git-send-email-r64343@freescale.com> <20130106075940.GA22985@hacker.(null)> <20130106084610.GA26483@hacker.(null)> <1357463980.1454.0.camel@kernel.cn.ibm.com> Date: Sun, 06 Jan 2013 17:01:48 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Sender: owner-linux-mm@kvack.org List-ID: To: Simon Jeons , Liu Hui-R64343 Cc: Wanpeng Li , "linux-kernel@vger.kernel.org" , "mgorman@suse.de" , "akpm@linux-foundation.org" , "riel@redhat.com" , "minchan@kernel.org" , "kamezawa.hiroyu@jp.fujitsu.com" , "linux-mm@kvack.org" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Sun, Jan 06 2013, Simon Jeons wrote: >> >write(1, "1\n", 2) =3D 3 >> Here it tells it.=20=20 > On Sun, 2013-01-06 at 08:48 +0000, Liu Hui-R64343 wrote: > Why this value trouble you? Because write() is supposed to return the number of bytes successfully written. --=20 Best regards, _ _ .o. | Liege of Serenely Enlightened Majesty of o' \,=3D./ `o ..o | Computer Science, Micha=C5=82 =E2=80=9Cmina86=E2=80=9D Nazarewicz = (o o) ooo +------------------ooO--(_)--Ooo-- --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBAgAGBQJQ6Z/sAAoJECBgQBJQdR/0vc8P/A/mtUEbevpmgRTO9TXUtgXG CA+MzCT7txiqZbm0pqtx/zE0WmrqPCVWD37kKaGhrXMTh4qsIrgjxyyxR2tDgk37 HnRN3lhZHlKtBOuym2PEd7aTJF8mQv686lK/L5mqU6AFGzSaUlCdyYq3Z3c59nfS Y3KE7e6FmglTIwtc1/a/VNoOSLMUOxR9rt3FJqy9JMk98gHRH+bgdwCdOdbPKogV fGfW7LmRtGMo3YzDgAj0DoXlCwYZJ4rBttshF9dVuTcmOSxVZsxgb96joEiecvb6 4nq+SNInik928TPZTUm6LmPJBmUabLT3fBPwKh3WsaZ95V/x48qLWHERXZSgux1k tPQFXT1HQIX4hK3Vfzp4WCHfD6g6SVG6EmxLp5N8dWomxFrZSp6Fg+mvry968xzL cyFm5GYFFxEINlKDZfEl06IjbM4uHgcXTzxwddZSfHr4yokMIhtmKmmlRUuNF426 YJ67nZX23829DXzlH4EhH2qhhISGjjiU2JkQ9Z9ABSo9ptm4hTBbg+0sxNbdCPSv qjSTz+2xvZuGp+FJ5+n2dLw+rq1hRB8F/GPIjJxdz7gjROAWgFWade3hhnmBtGTL w6Jctfpomg/vRmjBkXXcbepv5DXAPNrhGYFZVyixvKSpiEcEDpW5zVTMi499whAu JUtPihQw+2UG/iR52s5t =CGlX -----END PGP SIGNATURE----- --==-=-=-- --=-=-=-- -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org