Is this a bug that n_tty_set_room not serialized? If so please correct it.

2013-01-22 Thread snakky . zhang
Hi experts, Seems there is an bug related to function n_tty_set_roomin source file drivers/tty/n_tty.c. This function is used to set receive_room based on the read_cntby both the consumer and the producer of the tty's read buffer. But this function is not serialized, so I am afraid there is a

Is this a bug that n_tty_set_room not serialized? If so please correct it.

2013-01-22 Thread snakky . zhang
Hi experts, Seems there is an bug related to function n_tty_set_roomin source file drivers/tty/n_tty.c. This function is used to set receive_room based on the read_cntby both the consumer and the producer of the tty's read buffer. But this function is not serialized, so I am afraid there is a

Is this a bug that n_tty_set_room not serialized? If so please correct it.

2013-01-22 Thread snakky . zhang
Hi experts, Seems there is an bug related to function n_tty_set_roomin source file drivers/tty/n_tty.c. This function is used to set receive_room based on the read_cntby both the consumer and the producer of the tty's read buffer. But this function is not serialized, so I am afraid there is a

Is this a bug that n_tty_set_room not serialized? If so please correct it.

2013-01-22 Thread snakky . zhang
Hi experts, Seems there is an bug related to function n_tty_set_roomin source file drivers/tty/n_tty.c. This function is used to set receive_room based on the read_cntby both the consumer and the producer of the tty's read buffer. But this function is not serialized, so I am afraid there is a

Re: [PATCH 02/46] x86, mm: Split out split_mem_range from init_memory_mapping

2012-11-12 Thread snakky . zhang
On 2012年11月13日 14:20, Yinghai Lu wrote: On Mon, Nov 12, 2012 at 9:51 PM, Yasuaki Ishimatsu wrote: 2012/11/13 6:17, Yinghai Lu wrote: + nr_range = 0; This is unnecessary since it is set in the below. + nr_range = split_mem_range(mr, nr_range, start, end);

Re: [PATCH 02/46] x86, mm: Split out split_mem_range from init_memory_mapping

2012-11-12 Thread snakky . zhang
On 2012年11月13日 14:20, Yinghai Lu wrote: On Mon, Nov 12, 2012 at 9:51 PM, Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com wrote: 2012/11/13 6:17, Yinghai Lu wrote: + nr_range = 0; This is unnecessary since it is set in the below. + nr_range = split_mem_range(mr, nr_range, start,