Re: file offset corruption on 32-bit machines?

From: Jiri Kosina
Date: Thu Apr 10 2008 - 10:35:20 EST


On Thu, 10 Apr 2008, Michal Hocko wrote:

> This is different race with file position IMO. If I understand the
> report correctly, problem was with sleeping copy_to_user while the f_pos
> has changed.

Is this really in principle different from obtaining reschedule between
the two mov instructions?

--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/