linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Michal Nazarewicz <mina86@mina86.com>
To: Simon Jeons <simon.jeons@gmail.com>,
	Liu Hui-R64343 <r64343@freescale.com>
Cc: Wanpeng Li <liwanp@linux.vnet.ibm.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"mgorman@suse.de" <mgorman@suse.de>,
	"akpm@linux-foundation.org" <akpm@linux-foundation.org>,
	"riel@redhat.com" <riel@redhat.com>,
	"minchan@kernel.org" <minchan@kernel.org>,
	"kamezawa.hiroyu@jp.fujitsu.com" <kamezawa.hiroyu@jp.fujitsu.com>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>
Subject: Re: [PATCH] mm: compaction: fix echo 1 > compact_memory return error issue
Date: Sun, 06 Jan 2013 17:01:48 +0100	[thread overview]
Message-ID: <xa1t1udyjo5v.fsf@mina86.com> (raw)
In-Reply-To: <1357463980.1454.0.camel@kernel.cn.ibm.com>

[-- Attachment #1: Type: text/plain, Size: 561 bytes --]

On Sun, Jan 06 2013, Simon Jeons wrote:
>> >write(1, "1\n", 2)                      = 3

>> Here it tells it.  

> 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.

-- 
Best regards,                                         _     _
.o. | Liege of Serenely Enlightened Majesty of      o' \,=./ `o
..o | Computer Science,  Michał “mina86” Nazarewicz    (o o)
ooo +----<email/xmpp: mpn@google.com>--------------ooO--(_)--Ooo--

[-- Attachment #2.1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2.2: Type: application/pgp-signature, Size: 835 bytes --]

  parent reply	other threads:[~2013-01-06 16:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-06  7:44 Jason Liu
2013-01-06  7:59 ` Wanpeng Li
2013-01-06  7:59 ` Wanpeng Li
2013-01-06  8:11   ` Liu Hui-R64343
2013-01-06  8:46     ` Wanpeng Li
2013-01-06  8:48       ` Liu Hui-R64343
2013-01-06  9:19         ` Simon Jeons
2013-01-06  9:22           ` Liu Hui-R64343
2013-01-06 16:01           ` Michal Nazarewicz [this message]
2013-01-06  8:46     ` Wanpeng Li
2013-01-07 13:57 ` Mel Gorman
2013-01-07 21:33   ` Andrew Morton
2013-01-08  3:16     ` David Rientjes
2013-01-08  3:15 ` David Rientjes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xa1t1udyjo5v.fsf@mina86.com \
    --to=mina86@mina86.com \
    --cc=akpm@linux-foundation.org \
    --cc=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=liwanp@linux.vnet.ibm.com \
    --cc=mgorman@suse.de \
    --cc=minchan@kernel.org \
    --cc=r64343@freescale.com \
    --cc=riel@redhat.com \
    --cc=simon.jeons@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox