lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <6217e0a0910300658w1e3b8b1aja988410924b7a20c@mail.gmail.com>
Date:	Fri, 30 Oct 2009 10:58:10 -0300
From:	Lucas Prado Melo <lucaspradomelo@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: Help working with a pseudo-progress-based scheduler

Hello, I would like to create a pseudo-progress-based scheduler based
on the priority-based scheduler of the kernel.
I created some fields on task_struct and I've adapted the function
effective_prio() to change the priority based on a modifier.

I need to update the priority modifier every 'n' ticks, how do I do
some action every 'n' ticks?

Also, I need to create a syscall that would take an user-space address
and a pid of the task to change the priority of the task with the
given pid based on the progress data available on the user-space
address.
How do I get the task_struct through the task's pid?

Thanks in advance.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ