From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED, DKIM_ADSP_NXDOMAIN,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 9958 invoked from network); 13 Mar 2022 19:35:14 -0000 Received: from localhost (HELO inbox.vuxu.org) (::1) by localhost with ESMTPUTF8; 13 Mar 2022 19:35:14 -0000 Content-Type: multipart/mixed; boundary="===============5319246510594745960==" MIME-Version: 1.0 Subject: =?utf8?q?=5BPR_PATCH=5D_mthread=3A_reduce_memory_usage?= To: ml@inbox.vuxu.org From: julianrother Reply-to: ml@inbox.vuxu.org Message-ID: Date: Sun, 13 Mar 2022 20:35:14 +0100 List-Id: GitHub notification mails are now in MIME to allow UTF8. --===============5319246510594745960== Content-Type: text/plain; charset="utf8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 VGhlcmUgaXMgYSBuZXcgcHVsbCByZXF1ZXN0IGJ5IGp1bGlhbnJvdGhlciBhZ2FpbnN0IG1hc3Rl ciBvbiB0aGUgbWJsYXplIHJlcG9zaXRvcnkKCmh0dHBzOi8vZ2l0aHViLmNvbS9qdWxpYW5yb3Ro ZXIvbWJsYXplIG10aHJlYWQtbWVtb3J5LWxlYWsKaHR0cHM6Ly9naXRodWIuY29tL2xlYWhuZXVr aXJjaGVuL21ibGF6ZS9wdWxsLzIyMgoKbXRocmVhZDogcmVkdWNlIG1lbW9yeSB1c2FnZQptdGhy ZWFkIGtlZXBzIGhlYWRlciBkYXRhIG9mIGFsbCBtZXNzYWdlcyBpbiBtZW1vcnkgdW50aWwgaXQg ZXhpdHMgd2l0aG91dCBldmVyIHVzaW5nIGl0LiBXaXRoIHRoaXMgY2hhbmdlIGl0IGZyZWVzIHRo ZSBoZWFkZXIgZGF0YSBvZiBlYWNoIG1lc3NhZ2UgcmlnaHQgYWZ0ZXIgcHJvY2Vzc2luZyBpdC4N Cg0KV2l0aCBteSB0ZXN0IGRhdGEgb2YgfjEwMDAwMCBtZXNzYWdlcyAoMTBHQikgcGFzc2VkIHRv IG10aHJlYWQgd2l0aCBgLVNgIHRoaXMgY2hhbmdlIHJlZHVjZXMgdGhlIHBlYWsgbWVtb3J5IHVz YWdlIGZyb20gODQxTUIgdG8gMjdNQi4KCkEgcGF0Y2ggZmlsZSBmcm9tIGh0dHBzOi8vZ2l0aHVi LmNvbS9sZWFobmV1a2lyY2hlbi9tYmxhemUvcHVsbC8yMjIucGF0Y2ggaXMgYXR0YWNoZWQ= --===============5319246510594745960== Content-Type: text/x-diff MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="github-pr-mthread-memory-leak-222.patch" RnJvbSAzOGFjZmZjNTBiYWY3MGEyZWIyMzNlNTVjMGNjYzY5OTQ2YzM4YzQ0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBKdWxpYW4gUm90aGVyIDxqdWxpYW5AanJvdGhlci5ldT4KRGF0 ZTogU3VuLCAxMyBNYXIgMjAyMiAyMDoyODoxOSArMDEwMApTdWJqZWN0OiBbUEFUQ0hdIG10aHJl YWQ6IHJlZHVjZSBtZW1vcnkgdXNhZ2UKCm10aHJlYWQga2VlcHMgaGVhZGVyIGRhdGEgb2YgYWxs IG1lc3NhZ2VzIGluIG1lbW9yeSB1bnRpbCBpdCBleGl0cyB3aXRob3V0CmV2ZXIgdXNpbmcgaXQu IFdpdGggdGhpcyBjaGFuZ2UgaXQgZnJlZXMgdGhlIGhlYWRlciBkYXRhIG9mIGVhY2ggbWVzc2Fn ZQpyaWdodCBhZnRlciBwcm9jZXNzaW5nIGl0LgotLS0KIG10aHJlYWQuYyB8IDcgKystLS0tLQog MSBmaWxlIGNoYW5nZWQsIDIgaW5zZXJ0aW9ucygrKSwgNSBkZWxldGlvbnMoLSkKCmRpZmYgLS1n aXQgYS9tdGhyZWFkLmM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