Searched hist:"5 d0b6e48" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/block/ |
H A D | bfq-cgroup.c | 5d0b6e48 Thu Jun 06 05:26:20 CDT 2019 Christoph Hellwig <hch@lst.de> blk-cgroup: pass blkg_rwstat structures by reference
Returning a structure generates rather bad code, so switch to passing by reference. Also don't require the structure to be zeroed and add to the 0-initialized counters, but actually set the counters to the calculated value.
Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk> 5d0b6e48 Thu Jun 06 05:26:20 CDT 2019 Christoph Hellwig <hch@lst.de> blk-cgroup: pass blkg_rwstat structures by reference Returning a structure generates rather bad code, so switch to passing by reference. Also don't require the structure to be zeroed and add to the 0-initialized counters, but actually set the counters to the calculated value. Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
|
H A D | blk-cgroup.c | 5d0b6e48 Thu Jun 06 05:26:20 CDT 2019 Christoph Hellwig <hch@lst.de> blk-cgroup: pass blkg_rwstat structures by reference
Returning a structure generates rather bad code, so switch to passing by reference. Also don't require the structure to be zeroed and add to the 0-initialized counters, but actually set the counters to the calculated value.
Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk> 5d0b6e48 Thu Jun 06 05:26:20 CDT 2019 Christoph Hellwig <hch@lst.de> blk-cgroup: pass blkg_rwstat structures by reference Returning a structure generates rather bad code, so switch to passing by reference. Also don't require the structure to be zeroed and add to the 0-initialized counters, but actually set the counters to the calculated value. Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
|
/openbmc/linux/include/linux/ |
H A D | blk-cgroup.h | 5d0b6e48 Thu Jun 06 05:26:20 CDT 2019 Christoph Hellwig <hch@lst.de> blk-cgroup: pass blkg_rwstat structures by reference
Returning a structure generates rather bad code, so switch to passing by reference. Also don't require the structure to be zeroed and add to the 0-initialized counters, but actually set the counters to the calculated value.
Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk> 5d0b6e48 Thu Jun 06 05:26:20 CDT 2019 Christoph Hellwig <hch@lst.de> blk-cgroup: pass blkg_rwstat structures by reference Returning a structure generates rather bad code, so switch to passing by reference. Also don't require the structure to be zeroed and add to the 0-initialized counters, but actually set the counters to the calculated value. Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
|