Re: delayacct: alignment changes break iotop

From: Balbir Singh
Date: Mon Dec 13 2010 - 07:57:28 EST


* Dan Carpenter <error27@xxxxxxxxx> [2010-12-13 14:37:45]:

> Iotop uses hardcoded offsets to find the taskstats struct members.
> This got changed in 2.6.37 so it now iotop doesn't work on amd64. The
> offending commit is:
>
> commit 85893120699f8bae8caa12a8ee18ab5fceac978e
> Author: Jeff Mahoney <jeffm@xxxxxxxx>
> Date: Wed Oct 27 15:34:43 2010 -0700
>
> delayacct: align to 8 byte boundary on 64-bit systems
>
> Brian Rogers gets the reported-by tag. The bugzilla entry is:
> https://bugzilla.kernel.org/show_bug.cgi?id=24272
>

Thanks for the report, looks like the change did not even bump the
version field. Sorry, its my fault, I should have caught it earlier.
iotop hard coding member offsets is not bad as long as we don't break
ABI (expected from us). Any chance you could dump the offsets before
and after the change?

--
Three Cheers,
Balbir
--
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/