NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-hppa/56849: Wacko kernel memory accounting in current/hppa
The following reply was made to PR port-hppa/56849; it has been noted by GNATS.
From: Nick Hudson <nick.hudson%gmx.co.uk@localhost>
To: gnats-bugs%netbsd.org@localhost, port-hppa-maintainer%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Cc:
Subject: Re: port-hppa/56849: Wacko kernel memory accounting in current/hppa
Date: Tue, 24 May 2022 06:50:08 +0100
This is a multi-part message in MIME format.
--------------WIqpHylpkgtuYOD7Yk76jtfL
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Candidate fix...
Nick
--------------WIqpHylpkgtuYOD7Yk76jtfL
Content-Type: text/x-patch; charset=UTF-8; name="pr56849.diff"
Content-Disposition: attachment; filename="pr56849.diff"
Content-Transfer-Encoding: base64
SW5kZXg6IHN5cy9hcmNoL2hwcGEvaHBwYS9wbWFwLmMKPT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpSQ1MgZmls
ZTogL2N2c3Jvb3Qvc3JjL3N5cy9hcmNoL2hwcGEvaHBwYS9wbWFwLmMsdgpyZXRyaWV2aW5n
IHJldmlzaW9uIDEuMTE2CmRpZmYgLXUgLXAgLXIxLjExNiBwbWFwLmMKLS0tIHN5cy9hcmNo
L2hwcGEvaHBwYS9wbWFwLmMJOSBBcHIgMjAyMiAyMzozODozMiAtMDAwMAkxLjExNgorKysg
c3lzL2FyY2gvaHBwYS9ocHBhL3BtYXAuYwkyNCBNYXkgMjAyMiAwNTo0OTowNSAtMDAwMApA
QCAtMTEwOSw3ICsxMTA5LDcgQEAgcG1hcF9ib290c3RyYXAodmFkZHJfdCB2c3RhcnQpCiAJ
CWVsc2UgaWYgKHZhID09IHV2bV9sd3BfZ2V0dWFyZWEoJmx3cDApICsg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