<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/target/linux/generic/patches-4.0/305-mips_module_reloc.patch, branch reboot</title>
<subtitle>MTK 20170518 : Mediatek SDK based on OpenWRT Barrier Breaker</subtitle>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/'/>
<entry>
<title>kernel: remove linux 4.0 support</title>
<updated>2015-11-07T16:22:08+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2015-11-07T16:22:08+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=ad133b57a94165e1289ac63b38139047a1450dbb'/>
<id>ad133b57a94165e1289ac63b38139047a1450dbb</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 47412
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 47412
</pre>
</div>
</content>
</entry>
<entry>
<title>mips: Free memory when load_module fails (#14453)</title>
<updated>2015-07-07T13:48:27+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2015-07-07T13:48:27+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=8f0e96ee118781602ab67282b66a0b25fcf7692b'/>
<id>8f0e96ee118781602ab67282b66a0b25fcf7692b</id>
<content type='text'>
The mips reloc patch introduced new allocations which were done before
add_unformed_module but never freed them in case of an error. A new hook in
Linux 3.19 called module_arch_freeing_init can be used for freeing memory
which were allocated during this init phase.

The problem can be seen when trying to load a module (via busybox insmod)
when it was already loaded.

    free -m
    for i in `seq 1 100`; do
        /sbin/insmod /lib/modules/*/ath9k.ko &gt;&amp; /dev/null
    done
    free -m

This simple loop would leak ~3.2 MB.

Signed-off-by: Sven Eckelmann &lt;sven@open-mesh.com&gt;

SVN-Revision: 46247
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The mips reloc patch introduced new allocations which were done before
add_unformed_module but never freed them in case of an error. A new hook in
Linux 3.19 called module_arch_freeing_init can be used for freeing memory
which were allocated during this init phase.

The problem can be seen when trying to load a module (via busybox insmod)
when it was already loaded.

    free -m
    for i in `seq 1 100`; do
        /sbin/insmod /lib/modules/*/ath9k.ko &gt;&amp; /dev/null
    done
    free -m

This simple loop would leak ~3.2 MB.

Signed-off-by: Sven Eckelmann &lt;sven@open-mesh.com&gt;

SVN-Revision: 46247
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: revert section sorting change from r41951</title>
<updated>2015-04-11T21:21:03+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2015-04-11T21:21:03+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=1a797043e50d1fa047ca6037a41df50d36e17c07'/>
<id>1a797043e50d1fa047ca6037a41df50d36e17c07</id>
<content type='text'>
It currently does not seem to make a difference anymore, except by
increasing compressed kernel image size

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 45385
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It currently does not seem to make a difference anymore, except by
increasing compressed kernel image size

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 45385
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: revert a broken chunk in the mips module reloc patch fix</title>
<updated>2015-03-02T20:33:02+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2015-03-02T20:33:02+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=9386d8eb982305e08eb52a63742294e71cecbac0'/>
<id>9386d8eb982305e08eb52a63742294e71cecbac0</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 44592
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 44592
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: fix the mips module relocation patch for 3.19+</title>
<updated>2015-03-02T04:42:17+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2015-03-02T04:42:17+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=978830466a3781b85ce318ad14e92915babd62a0'/>
<id>978830466a3781b85ce318ad14e92915babd62a0</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 44590
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 44590
</pre>
</div>
</content>
</entry>
<entry>
<title>generic/4.0: refresh patches</title>
<updated>2015-02-24T18:53:14+00:00</updated>
<author>
<name>Imre Kaloz</name>
<email>kaloz@openwrt.org</email>
</author>
<published>2015-02-24T18:53:14+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=f76a752c5768ba7e58fcacf43bef0afd756b81af'/>
<id>f76a752c5768ba7e58fcacf43bef0afd756b81af</id>
<content type='text'>
Signed-off-by: Imre Kaloz &lt;kaloz@openwrt.org&gt;

SVN-Revision: 44532
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Imre Kaloz &lt;kaloz@openwrt.org&gt;

SVN-Revision: 44532
</pre>
</div>
</content>
</entry>
<entry>
<title>generic: early (incomplete!) 4.0 support</title>
<updated>2015-02-23T22:59:53+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>zajec5@gmail.com</email>
</author>
<published>2015-02-23T22:59:53+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=1c063070cf6bc2b81674f60b6ad6ae0ee9b4152f'/>
<id>1c063070cf6bc2b81674f60b6ad6ae0ee9b4152f</id>
<content type='text'>
Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 44511
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 44511
</pre>
</div>
</content>
</entry>
</feed>
