rpms/kernel/devel patch-2.6.23-rc3-git7.bz2.sign, NONE, 1.1 .cvsignore, 1.673, 1.674 kernel.spec, 1.117, 1.118 linux-2.6-highres-timers.patch, 1.6, 1.7 sources, 1.636, 1.637 upstream, 1.558, 1.559 patch-2.6.23-rc3-git6.bz2.sign, 1.1, NONE

Dave Jones (davej) fedora-extras-commits at redhat.com
Fri Aug 24 20:55:30 UTC 2007


Author: davej

Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28132

Modified Files:
	.cvsignore kernel.spec linux-2.6-highres-timers.patch sources 
	upstream 
Added Files:
	patch-2.6.23-rc3-git7.bz2.sign 
Removed Files:
	patch-2.6.23-rc3-git6.bz2.sign 
Log Message:
* Fri Aug 24 2007 Dave Jones <davej at redhat.com>
- 2.6.23-rc3-git7



--- NEW FILE patch-2.6.23-rc3-git7.bz2.sign ---
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: See http://www.kernel.org/signature.html for info

iD8DBQBGzoKpyGugalF9Dw4RAppYAJ90xwmrOPoKCJD4bNFYFNDfKoFgxACdEdVB
Y0I5/sXWAF9kca3UxhrDneY=
=+1GU
-----END PGP SIGNATURE-----


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/.cvsignore,v
retrieving revision 1.673
retrieving revision 1.674
diff -u -r1.673 -r1.674
--- .cvsignore	23 Aug 2007 17:17:21 -0000	1.673
+++ .cvsignore	24 Aug 2007 20:54:58 -0000	1.674
@@ -5,4 +5,4 @@
 linux-2.6.22.tar.bz2
 patch-2.6.23-rc3.bz2
 patch-2.6.23-rc3.bz2
-patch-2.6.23-rc3-git6.bz2
+patch-2.6.23-rc3-git7.bz2


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.117
retrieving revision 1.118
diff -u -r1.117 -r1.118
--- kernel.spec	24 Aug 2007 18:32:36 -0000	1.117
+++ kernel.spec	24 Aug 2007 20:54:58 -0000	1.118
@@ -47,7 +47,7 @@
 # The rc snapshot level
 %define rcrev 3
 # The git snapshot level
-%define gitrev 6
+%define gitrev 7
 # Set rpm version accordingly
 %define rpmversion 2.6.%{upstream_sublevel}
 %endif
@@ -1763,6 +1763,9 @@
 
 
 %changelog
+* Fri Aug 24 2007 Dave Jones <davej at redhat.com>
+- 2.6.23-rc3-git7
+
 * Thu Aug 23 2007 Eric Sandeen <sandeen at redhat.com>
 - Update xfs filesystem for bug fixes & stack reduction
 

linux-2.6-highres-timers.patch:

Index: linux-2.6-highres-timers.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/linux-2.6-highres-timers.patch,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- linux-2.6-highres-timers.patch	13 Aug 2007 19:47:01 -0000	1.6
+++ linux-2.6-highres-timers.patch	24 Aug 2007 20:54:58 -0000	1.7
@@ -409,16 +409,13 @@
  
  /*
   * Include the apic definitions for x86 to have the APIC timer related defines
-@@ -62,25 +63,34 @@
- #define _COMPONENT              ACPI_PROCESSOR_COMPONENT
- ACPI_MODULE_NAME("processor_idle");
+@@ -65,24 +65,37 @@ ACPI_MODULE_NAME("processor_idle");
  #define ACPI_PROCESSOR_FILE_POWER	"power"
--#define US_TO_PM_TIMER_TICKS(t)		((t * (PM_TIMER_FREQUENCY/1000)) / 1000)
+ #define US_TO_PM_TIMER_TICKS(t)		((t * (PM_TIMER_FREQUENCY/1000)) / 1000)
+ #define PM_TIMER_TICK_NS		(1000000000ULL/PM_TIMER_FREQUENCY)
 -#define C2_OVERHEAD			4	/* 1us (3.579 ticks per us) */
 -#define C3_OVERHEAD			4	/* 1us (3.579 ticks per us) */
--static void (*pm_idle_save) (void) __read_mostly;
--module_param(max_cstate, uint, 0644);
-+#define PM_TIMER_TICKS_TO_US(p)		(((p) * 1000)/(PM_TIMER_FREQUENCY/1000))
++#define PM_TIMER_TICKS_TO_US(p)                (((p) * 1000)/(PM_TIMER_FREQUENCY/1000))
 +#define C2_OVERHEAD			1	/* 1us */
 +#define C3_OVERHEAD			1	/* 1us */
 +
@@ -442,6 +439,9 @@
 +}
 +
 +module_param_call(max_cstate, change_max_cstate, param_get_uint, &max_cstate, 0644);
++
+ static void (*pm_idle_save) (void) __read_mostly;
+ module_param(max_cstate, uint, 0644);
  
  static unsigned int nocst __read_mostly;
  module_param(nocst, uint, 0000);
@@ -587,7 +587,7 @@
  }
  
  #else
-@@ -324,387 +240,6 @@ static void acpi_state_timer_broadcast(s
+@@ -245,404 +245,6 @@ static void acpi_state_timer_broadcast(s
  
  #endif
  
@@ -729,6 +729,9 @@
 -		 * TBD: Can't get time duration while in C1, as resumes
 -		 *      go to an ISR rather than here.  Need to instrument
 -		 *      base interrupt handler.
+-		 *
+-		 * Note: the TSC better not stop in C1, sched_clock() will
+-		 *       skew otherwise.
 -		 */
 -		sleep_ticks = 0xFFFFFFFF;
 -		break;
@@ -736,6 +739,8 @@
 -	case ACPI_STATE_C2:
 -		/* Get start time (ticks) */
 -		t1 = inl(acpi_gbl_FADT.xpm_timer_block.address);
+-		/* Tell the scheduler that we are going deep-idle: */
+-		sched_clock_idle_sleep_event();
 -		/* Invoke C2 */
 -		acpi_state_timer_broadcast(pr, cx, 1);
 -		acpi_cstate_enter(cx);
@@ -746,17 +751,22 @@
 -		/* TSC halts in C2, so notify users */
 -		mark_tsc_unstable("possible TSC halt in C2");
 -#endif
+-		/* Compute time (ticks) that we were actually asleep */
+-		sleep_ticks = ticks_elapsed(t1, t2);
+-
+-		/* Tell the scheduler how much we idled: */
+-		sched_clock_idle_wakeup_event(sleep_ticks*PM_TIMER_TICK_NS);
+-
 -		/* Re-enable interrupts */
 -		local_irq_enable();
+-		/* Do not account our idle-switching overhead: */
+-		sleep_ticks -= cx->latency_ticks + C2_OVERHEAD;
+-
 -		current_thread_info()->status |= TS_POLLING;
--		/* Compute time (ticks) that we were actually asleep */
--		sleep_ticks =
--		    ticks_elapsed(t1, t2) - cx->latency_ticks - C2_OVERHEAD;
 -		acpi_state_timer_broadcast(pr, cx, 0);
 -		break;
 -
 -	case ACPI_STATE_C3:
--
 -		/*
 -		 * disable bus master
 -		 * bm_check implies we need ARB_DIS
@@ -785,6 +795,8 @@
 -		t1 = inl(acpi_gbl_FADT.xpm_timer_block.address);
 -		/* Invoke C3 */
 -		acpi_state_timer_broadcast(pr, cx, 1);
+-		/* Tell the scheduler that we are going deep-idle: */
+-		sched_clock_idle_sleep_event();
 -		acpi_cstate_enter(cx);
 -		/* Get end time (ticks) */
 -		t2 = inl(acpi_gbl_FADT.xpm_timer_block.address);
@@ -798,12 +810,17 @@
 -		/* TSC halts in C3, so notify users */
 -		mark_tsc_unstable("TSC halts in C3");
 -#endif
+-		/* Compute time (ticks) that we were actually asleep */
+-		sleep_ticks = ticks_elapsed(t1, t2);
+-		/* Tell the scheduler how much we idled: */
+-		sched_clock_idle_wakeup_event(sleep_ticks*PM_TIMER_TICK_NS);
+-
 -		/* Re-enable interrupts */
 -		local_irq_enable();
+-		/* Do not account our idle-switching overhead: */
+-		sleep_ticks -= cx->latency_ticks + C3_OVERHEAD;
+-
 -		current_thread_info()->status |= TS_POLLING;
--		/* Compute time (ticks) that we were actually asleep */
--		sleep_ticks =
--		    ticks_elapsed(t1, t2) - cx->latency_ticks - C3_OVERHEAD;
 -		acpi_state_timer_broadcast(pr, cx, 0);
 -		break;
 -


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/sources,v
retrieving revision 1.636
retrieving revision 1.637
diff -u -r1.636 -r1.637
--- sources	23 Aug 2007 17:17:21 -0000	1.636
+++ sources	24 Aug 2007 20:54:58 -0000	1.637
@@ -1,3 +1,3 @@
 2e230d005c002fb3d38a3ca07c0200d0  linux-2.6.22.tar.bz2
 736ea68a03158c24e55aa95e0ab15ceb  patch-2.6.23-rc3.bz2
-3b8693d1abb584e26ebeae5715a4edec  patch-2.6.23-rc3-git6.bz2
+dadef5f65da0546602a04d062b24480a  patch-2.6.23-rc3-git7.bz2


Index: upstream
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/upstream,v
retrieving revision 1.558
retrieving revision 1.559
diff -u -r1.558 -r1.559
--- upstream	23 Aug 2007 17:17:21 -0000	1.558
+++ upstream	24 Aug 2007 20:54:58 -0000	1.559
@@ -1,3 +1,3 @@
 linux-2.6.22.tar.bz2
 patch-2.6.23-rc3.bz2
-patch-2.6.23-rc3-git6.bz2
+patch-2.6.23-rc3-git7.bz2


--- patch-2.6.23-rc3-git6.bz2.sign DELETED ---




More information about the fedora-extras-commits mailing list