HomeFreeBSD

Fix null pointer in arc_kmem_reap_now on 32-bit

Description

Fix null pointer in arc_kmem_reap_now on 32-bit

On 32 bit system, zio_buf_cache is limit to 1M. Larger than that is all NULL.
So we need to avoid reaping them.

Signed-off-by: Chunwei Chen <tuxoko@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #3973

Details

Provenance
tuxoko <tuxoko@gmail.com>Authored on Oct 30 2015, 9:34 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Nov 20 2015, 12:01 AM
Parents
rGd287880afd84: Fix snapshot automount behavior when concurrent or fail
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGd0c614ecf9eb: Fix null pointer in arc_kmem_reap_now on 32-bit (authored by tuxoko <tuxoko@gmail.com>).Nov 20 2015, 12:01 AM