Performing verification for noble.

I set up a Samba active directory reproducer as per the testcase, with two
systems, one a server and one the client.

I enabled -proposed on the client, and installed 6.8.0-90-generic.

$ uname -rv
6.8.0-90-generic #91-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 18 14:14:30 UTC 2025

The current memory was:

               total        used        free      shared  buff/cache   available
Mem:            3915         496        3274           1         367        3418
Swap:              0           0           0

From there, I opened six terminals and ran:

# fallocate -l 1k d1.data
# fallocate -l 1k d2.data
# fallocate -l 1k d3.data
# fallocate -l 1k d4.data
# fallocate -l 1k d5.data
# fallocate -l 1k d6.data
# while true ; do zstd --force d1.data ; done
# while true ; do zstd --force d2.data ; done
# while true ; do zstd --force d3.data ; done
# while true ; do zstd --force d4.data ; done
# while true ; do zstd --force d5.data ; done
# while true ; do zstd --force d6.data ; done

From there, I left the system for approximately one hour. On 6.8.0-87-geenric
and previous, this was enough to exhaust at least half the memory. 

But on 6.8.0-90-generic:

               total        used        free      shared  buff/cache   available
Mem:            3915         526        3172           1         440        3388
Swap:              0           0           0

This is great.

I killed all the processes, and let the kernel reclaim:

               total        used        free      shared  buff/cache   available
Mem:            3915         476        3222           1         440        3438
Swap:              0           0           0

Fantastic.

The memory leak has been fixed, happy to mark this bug as verified.

** Tags removed: verification-needed-noble-linux
** Tags added: verification-done-noble-linux

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2131213

Title:
  cifs: Fix memory leak of a folio every call to cifs_writepages_begin()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2131213/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to