[PATCH v1 0/2] exfat: update percent_in_use, remove runtime integer division

David Timber posted 2 patches 2 weeks, 6 days ago
fs/exfat/dir.c      |  3 ++-
fs/exfat/exfat_fs.h |  1 +
fs/exfat/namei.c    |  4 ++--
fs/exfat/super.c    | 20 +++++++++++++++++---
4 files changed, 22 insertions(+), 6 deletions(-)
[PATCH v1 0/2] exfat: update percent_in_use, remove runtime integer division
Posted by David Timber 2 weeks, 6 days ago
Changes from RFC v0:

  - use mul_u64_u32_div() for 32-bit arch without 64-bit integer
    division

mul_u64_u32_div() isn't so popular API, so I'm not sure it's available
on all arch.

I don't have a beefy machine to test my patches for all arch... If you'd
like to apply, I suggest waiting for the CI bots to finish testing. I
believe all submitted patches that apply to the master branch are tested
by the bots. I'll ping when the patches get a pass.


David Timber (2):
  exfat: update percent_in_use field when updating volume flags
  exfat: remove runtime integer division

 fs/exfat/dir.c      |  3 ++-
 fs/exfat/exfat_fs.h |  1 +
 fs/exfat/namei.c    |  4 ++--
 fs/exfat/super.c    | 20 +++++++++++++++++---
 4 files changed, 22 insertions(+), 6 deletions(-)

-- 
2.55.0
Re: [PATCH v1 0/2] exfat: update percent_in_use, remove runtime integer division
Posted by Namjae Jeon 2 weeks, 4 days ago
On Sun, Sep 6, 2026 at 2:11 AM David Timber <dxdt@dev.snart.me> wrote:
>
> Changes from RFC v0:
>
>   - use mul_u64_u32_div() for 32-bit arch without 64-bit integer
>     division
>
> mul_u64_u32_div() isn't so popular API, so I'm not sure it's available
> on all arch.
>
> I don't have a beefy machine to test my patches for all arch... If you'd
> like to apply, I suggest waiting for the CI bots to finish testing. I
> believe all submitted patches that apply to the master branch are tested
> by the bots. I'll ping when the patches get a pass.
>
>
> David Timber (2):
>   exfat: update percent_in_use field when updating volume flags
>   exfat: remove runtime integer division
Applied them to #dev.
Thanks!