diff options
| author | Mike Snitzer <snitzer@redhat.com> | 2013-08-20 15:05:17 -0400 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-05-24 02:22:22 +0200 |
| commit | 4d9918469e2808bbd83654f58e4a7b30db82fa99 (patch) | |
| tree | 223728931500ea62ecb00b6de2b9eacfb4824c57 /include/linux/auto_dev-ioctl.h | |
| parent | c1a3cb6fad12aca8661ec649de9fec1ee5e6c104 (diff) | |
UPSTREAM: math64: New separate div64_u64_rem helper
Commit f792685006274a850e6cc0ea9ade275ccdfc90bc ("math64: New
div64_u64_rem helper") implemented div64_u64 in terms of div64_u64_rem.
But div64_u64_rem was removed because it slowed down div64_u64 (and
there were no other users of div64_u64_rem).
Device Mapper's I/O statistics support has a need for div64_u64_rem;
reintroduce this helper as a separate method that doesn't slow down
div64_u64, especially on 32-bit systems.
BUG: 27175947
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Cc: Stanislaw Gruszka <sgruszka@redhat.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Change-Id: I05274c1a7235dfa972f5ddc4778e0154240fd9b6
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Diffstat (limited to 'include/linux/auto_dev-ioctl.h')
0 files changed, 0 insertions, 0 deletions
