<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/mm/frontswap.c, branch linux-3.6.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.6.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.6.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-07-23T15:16:20Z</updated>
<entry>
<title>mm/frontswap: cleanup doc and comment error</title>
<updated>2012-07-23T15:16:20Z</updated>
<author>
<name>Wanpeng Li</name>
</author>
<published>2012-06-16T12:37:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1d00015e268f9142de0b504b3e4a4905155276f2'/>
<id>urn:sha1:1d00015e268f9142de0b504b3e4a4905155276f2</id>
<content type='text'>
Signed-off-by: Wanpeng Li &lt;liwp.linux@gmail.com&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>mm: frontswap: remove unneeded headers</title>
<updated>2012-07-23T15:16:13Z</updated>
<author>
<name>Sasha Levin</name>
</author>
<published>2012-07-19T22:51:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3389b530a67e8aed049a213f751b29023bd9fcce'/>
<id>urn:sha1:3389b530a67e8aed049a213f751b29023bd9fcce</id>
<content type='text'>
Signed-off-by: Sasha Levin &lt;levinsasha928@gmail.com&gt;
[v1: Rebased with tracing removed]
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>mm: frontswap: split out function to clear a page out</title>
<updated>2012-07-19T22:51:14Z</updated>
<author>
<name>Sasha Levin</name>
</author>
<published>2012-06-10T10:51:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=611edfed29f406eedf66030e0864b7d3fec23f21'/>
<id>urn:sha1:611edfed29f406eedf66030e0864b7d3fec23f21</id>
<content type='text'>
Signed-off-by: Sasha Levin &lt;levinsasha928@gmail.com&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>mm: frontswap: remove unnecessary check during initialization</title>
<updated>2012-06-11T19:32:08Z</updated>
<author>
<name>Sasha Levin</name>
</author>
<published>2012-06-10T10:51:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f9f08103ebd634999abfccc8ff94985530f14d74'/>
<id>urn:sha1:f9f08103ebd634999abfccc8ff94985530f14d74</id>
<content type='text'>
The check whether frontswap is enabled or not is done in the API functions in
the frontswap header, before they are passed to the internal
double-underscored frontswap functions.

Remove the check from __frontswap_init for consistency.

Reviewed-by: Minchan Kim &lt;minchan@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;levinsasha928@gmail.com&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>mm: frontswap: make all branches of if statement in put page consistent</title>
<updated>2012-06-11T19:31:55Z</updated>
<author>
<name>Sasha Levin</name>
</author>
<published>2012-06-10T10:51:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d9674dda1c7ed49d503d3d7308c90a9f965f0783'/>
<id>urn:sha1:d9674dda1c7ed49d503d3d7308c90a9f965f0783</id>
<content type='text'>
Currently it has a complex structure where different things are compared
at each branch. Simplify that and make both branches look similar.

Reviewed-by: Minchan Kim &lt;minchan@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;levinsasha928@gmail.com&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>mm: frontswap: split frontswap_shrink further to simplify locking</title>
<updated>2012-06-11T19:31:33Z</updated>
<author>
<name>Sasha Levin</name>
</author>
<published>2012-06-10T10:51:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=69217b4cd044671b6dddcd9d33c8e4fdfd295ae3'/>
<id>urn:sha1:69217b4cd044671b6dddcd9d33c8e4fdfd295ae3</id>
<content type='text'>
Split frontswap_shrink to simplify the locking in the original code.

Also, assert that the function that was split still runs under the
swap spinlock.

Signed-off-by: Sasha Levin &lt;levinsasha928@gmail.com&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>mm: frontswap: split out __frontswap_unuse_pages</title>
<updated>2012-06-11T19:30:57Z</updated>
<author>
<name>Sasha Levin</name>
</author>
<published>2012-06-10T10:51:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f116695a500cdd84cbeac68bc373e98ae729c24b'/>
<id>urn:sha1:f116695a500cdd84cbeac68bc373e98ae729c24b</id>
<content type='text'>
An attempt at making frontswap_shrink shorter and more readable. This patch
splits out walking through the swap list to find an entry with enough
pages to unuse.

Also, assert that the internal __frontswap_unuse_pages is called under swap
lock, since that part of code was previously directly happen inside the lock.

Signed-off-by: Sasha Levin &lt;levinsasha928@gmail.com&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>mm: frontswap: split out __frontswap_curr_pages</title>
<updated>2012-06-11T19:30:47Z</updated>
<author>
<name>Sasha Levin</name>
</author>
<published>2012-06-10T10:51:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=96253444dbd90c6e9e9cfcb25315da5c412b058a'/>
<id>urn:sha1:96253444dbd90c6e9e9cfcb25315da5c412b058a</id>
<content type='text'>
Code was duplicated in two functions, clean it up.

Also, assert that the deduplicated code runs under the swap spinlock.

Reviewed-by: Minchan Kim &lt;minchan@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;levinsasha928@gmail.com&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>mm: frontswap: trivial coding convention issues</title>
<updated>2012-06-11T19:30:38Z</updated>
<author>
<name>Sasha Levin</name>
</author>
<published>2012-06-10T10:51:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4bb3e31ef408a5ce460da3555c9f59dfe39636ff'/>
<id>urn:sha1:4bb3e31ef408a5ce460da3555c9f59dfe39636ff</id>
<content type='text'>
Reviewed-by: Minchan Kim &lt;minchan@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;levinsasha928@gmail.com&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>mm: frontswap: remove casting from function calls through ops structure</title>
<updated>2012-06-11T19:30:33Z</updated>
<author>
<name>Sasha Levin</name>
</author>
<published>2012-06-10T10:50:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ef3835974103fc52c12962d91b224fbc2edcabe6'/>
<id>urn:sha1:ef3835974103fc52c12962d91b224fbc2edcabe6</id>
<content type='text'>
Removes unneeded casts.

Reviewed-by: Minchan Kim &lt;minchan@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;levinsasha928@gmail.com&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
</feed>
